Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 916 Bytes

File metadata and controls

41 lines (27 loc) · 916 Bytes

Cordforces

A Discord.js bot capable of loading standings and problems from Codeforces, getting the future contests and getting profiles data.

Commands

  • 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)

Requirements

Installation

  1. Clone the repository

    git clone https://github.com/farixz/cordforces.git
    cd Cordforces
  2. Install dependencies

    npm i discord.js dotenv axios puppeteer-extra puppeteer-extra-plugin-stealth cheerio
  3. Run the bot

    node bot.js

Credits