This code runs the Deep Thought bot in the Code Self Study chatroom. If you want to add functionality, fork this repo, edit the bot_commands.py
file and make a pull request on the dev
branch.
Make a Python 2.7 virtualenv.
Install the requirements into your virtualenv with pip install -r requirements.txt
.
Create environment variables:
$ export SLACK_API_TOKEN="your-bot-token"
$ export WUNDERGROUND_API_KEY="your-api-token"
Run the bot with python run.py
If you want to add commands to the bot, fork the dev
branch, edit the bot_commands.py
file and make a pull request.