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. -
/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
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
-
Now Add your bots token to the config (get them from here)
-
After adding your bots token simply run
python main.py
- In the terminal, run the following commands.
git clone https://github.com/DanielOrourke02/Discord-Template
cd Discord-Template
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Now add your bots token, get it from here, to the config file
nano config.json`
``
- Now start your bot.
python3 main.py
<h2 align="center">
<br>
Connect with me
<br>
</h2>
<p align="center">Hire Me: https://discord.gg/kNWkT8xWg6 Or DM ME: mal023</p>
### If this helped you out, please consider staring this project!