Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-14T03:27:50.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T01:48:39.586Z (8 months ago)
- Topics: javascript, node-js, slack-api, slackbot
- Language: JavaScript
- Homepage:
- Size: 269 KB
- Stars: 16
- Watchers: 3
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# inspireNuggets SlackBot![inspireNuggets](https://github.com/BolajiAyodeji/inspireNuggets/raw/master/tab-icon.png)
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 installnpm 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)