We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cog with bridge group throws error
Create bridge group inside a cog
class TestCog(commands.Cog): @bridge.bridge_group() async def test(self, ctx): await ctx.respond("ok")
Cog creation
Traceback (most recent call last): File "D:\coding\DandelionMusic\run.py", line 36, in <module> class TestCog(commands.Cog): File "D:\coding\dandelion_env\lib\site-packages\discord\cog.py", line 238, in __new__ new_cls.__cog_commands__ = tuple(c._update_copy(cmd_attrs) for c in new_cls.__cog_commands__) # type: ignore File "D:\coding\dandelion_env\lib\site-packages\discord\cog.py", line 238, in <genexpr> new_cls.__cog_commands__ = tuple(c._update_copy(cmd_attrs) for c in new_cls.__cog_commands__) # type: ignore File "D:\coding\dandelion_env\lib\site-packages\discord\commands\core.py", line 1262, in _update_copy return self.copy() File "D:\coding\dandelion_env\lib\site-packages\discord\commands\core.py", line 1230, in copy ret = self.__class__( TypeError: __init__() missing 1 required positional argument: 'callback'
default + message_content
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Summary
Cog with bridge group throws error
Reproduction Steps
Create bridge group inside a cog
Minimal Reproducible Code
Expected Results
Cog creation
Actual Results
Intents
default + message_content
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: