A slackbot
A simple slackbot for the DevCongress slack, which does tasks including:
@botname convert 20 euros
or @botname convert $30
@botname convert 20 eur to gbp
@botname define fire
or @botname What is the meaning of marketing
React jobs
or Jobs for UI designers
or Node and Rails jobs
npm run generate
, follow the prompts to scaffold the required files.Find relevant documentation at Botkit and Slack API
Clone the repository
git clone https://github.com/devcongress/slackbot
Go to your terminal and navigate to the directory you cloned the code to and run
npm install
Get a Bot token from Slack:
Rename example.env
to .env
and update the environment variables in the file.
Run your bot from the command line:
node index.js
The bot is written with botkit which you can learn more about it here http://howdy.ai/botkit
This project is licensed under the MIT license.