Discord bot to run math contests without leaving Discord. Features include:
- Timed contests with individual windows
- Submissions in the format of simple answers or files
- Manual or automatic grading, user-defined
- Post-contest roles only available to users who have completed a contest
- Download the contents of the repository and go to the directory
- Create a
.env
file in the main directory withDISCORD_TOKEN=<token>
,DISCORD_CLIENT_ID=<client id>
andMONGO_CONNECTION_STRING=<mongodb connection string>
. - Run
./setup.sh
to install dependencies and deploy commands. - Add your settings to
settings.json
in the format{"adminRole": <your role id>, "debug": false}
. - Run npm install and node deploy-commands.js
- Run
node index.js
to start the bot.