This is a starter template of discord.py project (Supports Slash commands!). 👀
First, you need to install
Python 3.8.x(Lower Version is not guaranteed!)
Then, create a
venvor Virtual Environment for precaution if something happens.
python -m venv ./your/venv/path
- After making sure everything’s fine, and venv activated.. then install the dependencies.
pip install -r ".\requirements.txt"
then, put you bot token to the
Finally, you can execute:
Open your discord to see the result, make sure you’ve added the bot to a server with application.commands enabled.
You can start editing the code by modifying
./cogs folder. The slash commands will be refreshed every time you’re rerun the codes.
To learn more about discord.py and all the goodies, take a look at the following resources:
- discord.py Documentation – learn about
- discord-py-interactions Documentations – learn about
Confused? Any Questions?
Please, Feel free to open issues or DM me (GNZTMPZ#0057) on Discord. Thank you and have a nice day! 🙂