Closed MrSnifo closed 2 years ago
Is your bot verified without the message content intent by any chance? If so, we introduced a workaround to use version 9 of the API to avoid this in #1032.
No, I'm using a normal unverified bot, and on 2.0.0a it raises Command "blablabla" is not found but 2.0.0b4 it does not. And I really need the new Modal update (await, stop). so I can't switch back to the old version.
Solved, by switching to API V9
After reading the V10 changes, message content intent can be enabled in the discord app so you can use the V10, My bot is only connected to one server so after I have enabled it, Nothing happened it still has the same issues.
The reason this broke over the update is because the default api version the library used is now V10, which doesn't send message contents (for the most part), an update was posted to allow the user to more easily change which api version is being used, so you can change it back to V9 and it should work again.
The reason this broke over the update is because the default api version the library used is now V10, which doesn't send message contents (for the most part), an update was posted to allow the user to more easily change which api version is being used, so you can change it back to V9 and it should work again.
You can send message content if you enable message content intent in discord apps so V10 can work properly, but the problem is I enabled it, and still not working.
Solved, by adding:
intents = discord.Intents.all()
super().__init__(pm_help=False,
self_bot=False,
case_insensitive=True,
help_command=None,
intents=intents)
Summary
The problem is that the slash command and the prefix command are working fine on 2.0.0a after I updated to 2.0.0b4 only the slash command is working.
Reproduction Steps
bot.py
Test cog
Minimal Reproducible Code
Expected Results
The prefix command and the Slash command are working correctly.
Actual Results
Only Slash command works, After switching to 2.0.0a everything works fine.
Intents
all
System Information
Checklist
Additional Context
No response