Skip to content

ankushKun/Komi-Bot

Repository files navigation

Komi San wants you to study

This repo contains the source code for our bot that manages time and other functions of the server <3

Features

  • Your study time in VC gets tracked
  • Daily, Weekly and Monthly leaderboards
  • Healthy Study environment
  • Seperate section for extracurricular activities
  • Accountability features
  • Private study rooms
  • Study plylists and Study material shared by our members

Discord

How to run the bot locally

Clone the repo

git clone https://github.com/KomiStudy/Komi-Bot.git
cd Komi-Bot

Install the requirements

pip3 install -r requirements.txt

Add API keys to .env and firabase.json

Visit the discord developer portal and copy the bot token of your bot and paste it in env.example without any " " then rename the file to .env

Visit console.firebase.google.com and create a new project

Setup realtime database and then add a web app for the project. This should provide you a firebaseConfig script, you just need the API keys, copy them and paste them in firebase.json

Lastly open config.json and enable USE_FIREBASE_JSON from 0 to 1, this will make sure the code uses the json file to connect to the database insteal of the env file

Run the bot

python3 run_bot.py

Contribute to the project

Feel free to fork the repo and add more features or enhance the codes.
Make sure you are in the server and have consulted the staff before live testing your bot or making any changes. We will be more than happy if you support us by contributing :s)

About

Source Code for our bot that manages time and other functions of the server <3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages