Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 792 Bytes

README.rst

File metadata and controls

24 lines (14 loc) · 792 Bytes

A Slackbot for the Code Self Study Chatroom

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.

Installation

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

Contributing

If you want to add commands to the bot, fork the dev branch, edit the bot_commands.py file and make a pull request.