xkcd-slack-bot
Version:
XKCD comic bot for slack chats!
47 lines (27 loc) • 537 B
Markdown
# xkcd-slack-bot
> XKCD comic bot for slack chats!
## Install
```
$ npm install --save xkcd-slack-bot
```

## Usage
```js
var xkcdSlackBot = require('xkcd-slack-bot');
var auth = {
token: '<YOUR_BOT_TOKEN>',
name: '<YOUR_BOT_NAME>',
channel: '<CHANNEL_NAME>'
};
xkcdSlackBot(auth);
```
## API
### xkcdSlackBot(auth)
#### auth
> Object with `name`, `token` and `channel`
## CLI
```sh
$ xkcd-slack-bot -n <BOT_NAME> -t <TOKEN> -c <CHANNEL_NAME>
```
## License
MIT © [hemanth.hm](http://h3manth.com)