A simple bot template for discord.py v2.0 with slash commands.
- Download Python here
- Clone the repository using
git clone https://github.com/elainaaa/discordpy-v2-bot-template
or download it from releases - Run
python -m pip install -r requirements.txt
to install the needed libraries - Open
config.json
and add your bot's token and application id from the developer portal (if you want to register the commands to a specific server then edittest-server-id
aswell) - Run the bot with
python main.py