A Discord.js bot capable of loading standings and problems from Codeforces, getting the future contests and getting profiles data.
-
cf!contests to get future contests.
-
send a profile link to get data about it
-
/problems [contestID] (groupID) to scrap problems
-
/standings [contestID] (groupID) (list) to get users in contest and their status
[Required] (optional)
- Node.js (v16.x or higher)
- Discord.js (v14.x)
-
Clone the repository
git clone https://github.com/farixz/cordforces.git cd Cordforces
-
Install dependencies
npm i discord.js dotenv axios puppeteer-extra puppeteer-extra-plugin-stealth cheerio
-
Run the bot
node bot.js