Build a Discord Currency Bot 3 - Slash Commands
Вставка
- Опубліковано 13 лип 2023
- So, we didn't really build a bot, let's fix that and make it deal with slash commands like it was built to do it. 'Cause it was. In this lesson, we'll take a look at:
* Accessing Commands
* Dealing with Databases for users
* Multiple, optional arguments in a command
Don't forget that you can follow this tutorial with text and live code editing at replit.com/learn/discord-currency-bot - Розваги
Slash commands must be tree.command or app_commands, not prefix commands pls
bro, this isnt slash commands
the "async def balance" doesnt work, it doesnt send anything
I had the same error. The reason behind it was because when you put the code to return if the message author was itself, you didnt put bot.process_commands(message) after return, inline with the if statement. This should fix it.
@@resist-slaverythanks bro
help pls…. I still cant get it work