Skip to content

KodeMat/coding-olympics-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// COMPILED BOT

A Discord bot for managing student rankings and leaderboards in coding olympics events.


Getting Started

Setup the Bot Token (macOS / Linux)

  1. Open your shell config file:

    nano ~/.zshrc
    
  2. Add the following line at the bottom (replace with your actual bot token):

    export COMPILED_TOKEN="your_actual_token_here"
  3. Save and exit:

    • Press CTRL + O → Enter
    • Press CTRL + X to close
  4. Reload your shell so the token is available:

    source ~/.zshrc
  5. Verify it’s set:

    echo $COMPILED_TOKEN

    You should see your token printed in the terminal.


Running the Bot

  1. Install dependencies:

    python3 -m pip install -U discord.py
  2. Start the bot:

    python3 main.py
  3. If successful, you’ll see:

     Logged in as COMPILED BOT
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •