AlgoContestBot notifies you about upcoming algorithmic programming contests. After the notification channel is set, the bot will notify you 48, 24 and 2 hours before an upcoming contest.
This bot uses CodeForces API and clist.by API.
Node.js version >= 8.0.0 must be installed.
Run npm install
inside the project folder.
Create an auth.json
file inside the project folder that contains this:
{
"token": "your-discord-bot-token-here",
"clistbyUsername": "your-clist.by-username",
"clistbyAPIKey": "your-clist.by-apikey"
}
You will need a clist.by account for the bot to fetch data using clist.by API successfully.
Then run npm start
inside the project folder.
If you want to eval
commands, fill in your Discord User ID as value for owner
in config.json
and restart the bot. The bot will then accept _eval
commands from DMs from you.
Someone with ADMINISTRATOR
permission must use the _setChannel
command on the desired channel.
Please branch from and issue pull requests to develop
branch.