About • Installation • Contributing
Open-source discord bot with slash commands support, mainly developed to automate and manage a discord server for a university student club.
The project is designed to be self-documented and easily customizable.
- Python 3 - Follow instructions to install the latest version of python for your platform in the python docs.
- PIP Dependencies - install dependencies by running the following command in the project directory:
This will install all of the required packages within the requirements.txt file.
$ pip install -r requirements.txt
Create an environment variable called BOT_TOKEN
and assign it's value to your bot secret token.
The bot is hosted on replit and therefore is using replit's free key-value database.
A quick and easy workaround for local testing is to create a file called replit.py
and adding an empty dictionary variable called db
.
The file will look like this:
db = {}
Using this setup will cause the data to be cleared each time you restart the bot while testing locally.
Alternatively, if you're building your own bot and you're not going to use replit, you may want to consider choosing another database.
To run the bot you need to run main.py
file by executing the following command:
$ python3 main.py
Please refer to the contributing guide to learn more about how to contribute to the project.