Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/)

Add to Slack

> 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)