This is a Python bot built on top of the Discord.py framework.
TODO: Document the various bot features.
.envcontains private configuration values which are populated into the environment.conf.pycontains public configuration values which are passed into various Cogs.bot.pyis the executable entry point. It instantiates the various Cogs and starts the bot.mentor_requests.pytracks requests on Exercism and updates threads with current requests.mod_message.pyprovides an app command (or slash command) for mods to send canned messages.track_react.pycontains the logic to react to messages with track-specific emojis.
exercism_lib is a symlink to this Exercism lib, which is used to fetch data from Exercism.
Ideally, this would be a proper git submodule and the Exericsm logic would be its own repo, not a shared projects repo.
ln -s $root/python-projects/exercism.org exercism_libThe dotenv module is used to load some configurations from a private .env file.
Expected environment variables include:
DISCORD_TOKEN: The bot token used by the bot to identify with Discord.