To start making a discord.py bot in an advanced way, you can use this template which is so easy to use and well organized.
I have good database handler, logger, cooldown handlers and more better things to handle the bot easily also its autosharded.
Note: This source is on its Version: 1
So its not that much good rightnow.
Must Read the the license file for more
- If you're having problem, feel free to ask at our discord server from here,
- If you're not getting responses on our discord server so you can DM me on dm by here demon.1139
First fork this repository!
Alternatively you can do the following:
- Clone the repo:
- To clone this repo, you have to follow this command in your terminal.
git clone https://github.com/UjjwalxD/Discord.py-Bot-Base
- To clone this repo, you have to follow this command in your terminal.
- Create a discord application here
- Get your bot's token
To set up the bot it was made as simple as possible.
First you have to rename .env.example
file to .env
Then fill the env variable it has, TOKEN
, PREFIX
To start the bot you simply need to launch, either your terminal (Linux, Mac & Windows), or your Command Prompt ( Windows) .
Before running the bot you will need to install all the requirements with this command:
python -m pip install -r requirements.txt
After that you can start it with
python main.py