-
Can @bot.command() be used in py-cord 2.0.0b7? I have tried to use it, but when performing the command in the discord, the bot does not react. I have tried with @bot.user_command() , but the following is thrown:
The @bot.slash_command works fine for me I think I'm doing something wrong. Step capture of what I have installed in interprete. Python Packages: https://i.imgur.com/eooqGiQ.png |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have solved the problem thanks to the help of a Discord user. Fix the problem with intents = discord.Intents.default() I add these two lines to more intents.message_content = True |
Beta Was this translation helpful? Give feedback.
I have solved the problem thanks to the help of a Discord user. Fix the problem with
intents = discord.Intents.default()
intents.members = True
intents.presences = True
I add these two lines to more
intents.message_content = True
intents.messages = True