The Slack bot of FRC Team 4180: The Iron Riders
After cloning the repository, install the depedencies via run pip3 install -r requirements
To run the bot, use python3 ./run.py
You will need to have an environment variable named SLACK_API_TOKEN
in order to run the bot. Ask in the #ironriders-bot channel for it.
The bot's behavior is defined by plugins. Plugins are simple python files that with function thats are called something happens. Plugin functions can both passively listen for something, or actively respond to a command.
See the welcome plugin for a reference implementation of passively listening.
When creating a new plugin file, you must also register it by assing it to the PLUGINS
list in slackbot_settings.py