XKCD comics for slack chats!
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore
.jshintrc
bot.png
cli.js
index.js
license
package.json
readme.md

readme.md

xkcd-slack-bot

XKCD comic bot for slack chats!

Install

$ npm install --save xkcd-slack-bot

bot

Usage

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

$ xkcd-slack-bot -n <BOT_NAME> -t <TOKEN> -c <CHANNEL_NAME>

License

MIT © hemanth.hm