Skip to content

s-i-d-d-i-s/Sparky-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparky-Bot (Beta) [OUTDATED - WILL BE UPDATED SOON]

Sparky was deactivate on 11th July 2022 as I'm now busy with other things in life and have little to no time to manage it. It was a very special app for me, and i truly enjoyed working on it but I can't host it forever.

A Discord bot for Codechef

Key Features

  1. Identify users based on their Codechef handles.
  2. Check recent submissions by a user
  3. Check upcoming contests.
  4. Plot Rating Graph
  5. Get useful insights about a user instantly
  6. Get random unsolved problem by difficulty

Images

Identify people by Codechef Handles

xcgxc

Check recent submissions by users

subs

Plot Rating Graphs

ratinggraph

Check upcoming contests

cont

Get useful insights about a user instantly

Get random unsolved problem by difficulty

Installation

Clone the repository

git clone https://github.com/s-i-d-d-i-s/Sparky-Bot

Install Dependencies

pip install -r requirements.txt

Create a Bot

Create a bot on your server. Here is a tutorial on that

Add Bot Token

  1. Create an Enviroment Variable DEBUG and set it to '1'
  2. In cogs\Utils\constants.py replace TOKEN line 30, with your bot token.
  3. In cogs\Utils\constants.py replace OWNER with your Discord User ID
  4. In cogs\Utils\constants.py set DEBUG to True
  5. In cogs\Utils\cc_api.py set CLIENT_ID and CLIENT_SECRET with your API Credentials respectively.

Final Steps

python main.py

Note

  1. Make sure you have the following roles present on your server
  • Admin
  • 1★
  • 2★
  • 3★
  • 4★
  • 5★
  • 6★
  • 7★
  1. To run bot commands, use prefix (=) , e.g =contest future
  2. Bot should have Admin privileges.

Footer

This bot is in Beta, and have only basic functionality. All contributions are welcome.

Thanks

  • imjohnzakkam for developing and testing the bot in development and giving valuable feedback.
  • SayangitBIT for testing the bot in development and giving valuable feedback.