Discord bot for McGill
- discord.py
- beautifulsoup4
- sympy
- requests
- dvipng (Bundled with MiKTeX on Windows)
Dependencies are available via python3 -m pip install --user -r requirements.txt
except for dvipng; see their respective links for detailed installation instructions.
In order to run bots on Discord, you need to create a bot account.
In your terminal, export your Discord token as an environment variable.
$ export DISCORD_TOKEN='your-token-here'
You will have to do this each time you restart your shell.
Run python3 Main.py
in your shell. Make sure DB_PATH in db.py is set correctly and that the DB file exists.