prerequisite:
-
Make sure to create the bot on the discord developer portal https://discord.com/developers/docs/intro
-
CodeChef
- To Get The Api of CodeChef You Need To Mail Them At [email protected] and Convey for what purpose you need there api
- Then They Will Send One Form You Need To Fill That Form And Wait. Then You Will Get Mail From There Side And Now You Will Be Able To Get The API Token
- Documentation https://developers.codechef.com/#grant-types
npm install --global yarn
yarn install
Getting the configuration ready
Copy the .env.example file at the same location and save as .env
cp .env.example .env
yarn run dev
docker compose -f .\docker-compose-dev.yml up
docker compose -f .\docker-compose-dev.yml up --build --remove-orphans --force-recreate
Discord.js Docs : https://discord.js.org/#/docs/discord.js/main/general/welcome
Dicord Embed : https://discordjs.guide/popular-topics/embeds.html#using-the-embed-constructor
Arena Api Docs : http://arena.siesgst.ac.in/api/docs
YouTube Playlist : https://www.youtube.com/playlist?list=PLaxxQQak6D_f4Z5DtQo0b1McgjLVHmE8Q
- Basic User Info
- Get Event info about official codechef (Upcoming Contest)
- Help Command
- Create A Poll
- Upcoming Contest
- Assigning a role (make sure that the one who running the command have privilege to give the particular role)
- Top 5 Coders For a given contest
- After each contest show user ratings if upgrade show in green if degrade show in red
- All Time Top 5 Coders