Skip to content

AlgoContestBot is a Discord bot that notifies you about upcoming algorithmic programming contests.

License

Notifications You must be signed in to change notification settings

cjtoribio/AlgoContestBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgoContestBot v0.2.1

About

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.

Currently supported contest platforms:

This bot uses CodeForces API and clist.by API.

Installation

Node.js version >= 8.0.0 must be installed. Run npm install inside the project folder.

Usage

Running the bot

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.

How to set the notification channel?

Someone with ADMINISTRATOR permission must use the _setChannel command on the desired channel.

Contributing

Please branch from and issue pull requests to develop branch.

About

AlgoContestBot is a Discord bot that notifies you about upcoming algorithmic programming contests.

Resources

License

Stars

Watchers

Forks

Packages

No packages published