- Currently Supports Codechef and Codeforces
- This bot fetches user data from cp platforms and display it on discord.
- This bot also verifies Codeforces & CodeChef users on Discord by checking their submissions and assigning them roles based on their titles.
- Users can verify their Codeforces account using
/cfverify <handle>
and get assigned the respective rank role. - You can fetch Codeforce's Profile's Image using
/cfuserpfp <handle>
. - Retrieves and displays Codeforces user stats via
/cfuserinfo <handle>
. - Retrieves Detailed Data about Solved Questions by the user using
/cfusersolved <handle>
.
- Users can verify their CodeChef account using
/ccverify <handle>
and get assigned the respective rank role. - You can fetch Codeforce's Profile's Image using
/ccuserpfp <handle>
. - Retrieves and displays user stats via
/ccuserinfo <handle>
.








- Node.js
- Required Node packages (listed in
package.json
) - A Discord bot token
- Clone the repository:
git clone https://github.com/Thunder-Blaze/Cp_Discord_Bot.git cd Cp_Discord_Bot
- Install dependencies:
npm install
- Create a
.env
file and add:BOT_TOKEN=your_discord_token_here #important GUILD_ID=your_discord_server_id #important CLIENT_ID=your_discord_bot_client_id #important
- Install Commands in Server:
node run deploy
- Run the bot:
node run start
- Build the Docker image:
docker build -t cp-discord-bot .
- Run the container:
docker run -d --env-file .env cp-discord-bot
- Ensure your
.env
file contains a valid Discord bot token. - The bot requires proper permissions to assign roles in your Discord server.
- Created by: Shivansh Jain
- Also check out the same project but with Python: In-Saiyan/CodeForces-Discord-Verification