Hosting Locally
November 10, 2022 ยท View on GitHub
Note: The bot doesn't use a lot of resources. My testing shows it uses less than 100 MB of RAM and 0.1% of CPU
Create MongoDB URI and Discord Bot Token
- Follow this tutorial and keep the mongodb uri as well as bot token handy.
- Video: YouTube
- Ignore the HEROKU Variables
- Also Keep your discord user id with you.
Setting up bot locally
-
Download the latest version of this repository from this link
-
Extract it at a suitable location

-
Go to cogs folder and delete _config.py.
-
Open _config_sample.py and edit accordingly.
Make sure to retain the quotes and brackets.

Installing requirements
-
Open Command Prompt in that folder.

-
Optional Step Run
pip install virtualenv. -
Then run
virtualenv venvto create a virtual environment.
-
Run
cd venv/Scripts -
Activate the virtual environment by running
activate -
Go back to the bot directory where main.py file is located.
-
Run
pip install -r requirements.txt
Running the bot
- Run
python main.py