A Template for a basic discord bot that uses slash commands.
Resource Links • Prerequisites • Getting Started
- Python3.12
- Git
- Windows Or Linux
- Slash commands
- Help, ping, invite and button command
-
/help
- Sends an embeded message of the list of commands. -
/ping
- Pings the bot and sends back the latency. -
/invite
- Responds with an invite to add the bot to a server. -
/button
- Sends back an interactive button. (disord.ui)
Check out my all in one bot! Includes a very sophisticated economy game and much more! CLICK HERE (project is now depricated)
- In the terminal, run the following commands.
git clone https://github.com/DanielOrourke02/Discord-Template
cd Discord-Template
-
Now open the cloned directory in windows explorer.
-
Simply double click
install.bat
and the requirements will be installed. -
Now Add your bot token and your bots invite link to
config.json
(get them from here) -
After adding your values to config.json. Simply double click run.bat and your bot should start.
- In the terminal, run the following commands.
git clone https://github.com/DanielOrourke02/Discord-Template
cd Discord-Template
- Install requirements
chmod +x install.bat
./install.bat
-
Add your bot token and your bots invite link to
config.json
(get them from here)- Do this by using
nano
or by using a text editor
- Do this by using
-
Now run the bot.
chmod +x run.bat
./run.bat
OR
python3 main.py
Hire Me: https://discord.gg/kNWkT8xWg6 Or DM ME: mal023