https://github.com/bolajiayodeji/inspirenuggetsslackbot
A simple Slackbot that displays random inspiring techie quotes and jokes for developers/designers.
https://github.com/bolajiayodeji/inspirenuggetsslackbot
javascript node-js slack-api slackbot
Last synced: 8 months ago
JSON representation
A simple Slackbot that displays random inspiring techie quotes and jokes for developers/designers.
- Host: GitHub
- URL: https://github.com/bolajiayodeji/inspirenuggetsslackbot
- Owner: BolajiAyodeji
- License: mit
- Created: 2019-08-11T21:00:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-14T03:27:50.000Z (over 4 years ago)
- Last Synced: 2025-04-10T03:52:09.333Z (about 1 year ago)
- Topics: javascript, node-js, slack-api, slackbot
- Language: JavaScript
- Homepage:
- Size: 269 KB
- Stars: 17
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inspireNuggets SlackBot

A simple Slackbot that displays random inspiring techie quotes and jokes for developers/designers :zap:
> This bot is powered by the original [inspireNuggets Chrome Browser Extension](https://github.com/BolajiAyodeji/inspireNuggets) quotes and [Chuck Norris Jokes API](https://api.chucknorris.io/)
> I wrote an article on how I built this [here](https://bolajiayodeji.com/building-a-slackbot-with-nodejs-and-slackbotsjs-cjz8gh7zg000exfs1tq2z5zzu)
# Setup
### Clone the repository
```
git clone https://github.com/BolajiAyodeji/inspireNuggetsSlackBot.git && cd inspireNuggetsSlackBot
```
### Install dependencies
```
npm install
npm start
```
### [Create a bot in Slack](https://api.slack.com/apps/AM92STGGG/general?) and generate and include your OAuth bot token
```
// Add this in your .env
BOT_TOKEN=YOUR_OWN_BOT_TOKEN
```
```js
const bot = new SlackBot({
token: `${process.env.BOT_TOKEN}`,
name: 'YOUR_OWN_APP_NAME'
})
```
## Author
[Bolaji Ayodeji](https://github.com/BolajiAyodeji)
## Licence
[MIT](https://opensource.org/licenses/MIT)