Closed Fallcrim closed 2 years ago
Refer to #1528
Thanks for the reference @JustaSqu1d. After adding the 'store' argument to the loading method, I got a traceback:
TypeError: Command.__init__() missing 1 required positional argument: 'func'
Actually I found out that the commands.Group causes the issue
NOTE: Removed commands.Group and replaced it with discord.SlashCommandGroup
.
Now working
Summary
One of my cogs is not correctly being registered
Reproduction Steps
It is a cog, with default implementation. Means a class with a few functions and a setup() function.
Minimal Reproducible Code
Expected Results
The command should get loaded without any issue and be included in bot.extensions
Actual Results
The cog was loaded with raising an exception. After checking bot.extensions it wasn't there
Intents
discord.Intents.all()
System Information
Checklist
Additional Context
If you need any specific code please just tell me Otherwise kind regards :D