The option to install the PyPI version is as follows:
pip install discord-py-slash-command
Documentation of
discord-py-slash-command
Bot API is available in PyPI.
Copy-paste the codes from
bot.py
Run the code
Type
/test
in your server (where your bot is already added)
Your code should work :)
Note : Your bot must have "use slash commands" permission in the server in order to use slash commands.
DISCORD:
INFINIX#7276
DISCORD SERVER: https://www.discord.gg/DNvFcrhdzr
Check out my profile for more info!