-
-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
@bridge_group(name="name") gives error
Reproduction Steps
Create bridge group with a name=
Minimal Reproducible Code
@bot.bridge_group(name="test")
async def _test(ctx):
await ctx.respond("aaa")Expected Results
Command registration
Actual Results
Traceback (most recent call last):
File "D:\coding\DandelionMusic\run.py", line 37, in <module>
async def _test(ctx):
File "D:\coding\dandelion_env\lib\site-packages\discord\ext\bridge\bot.py", line 88, in decorator
result = bridge_group(**kwargs)(func)
File "D:\coding\dandelion_env\lib\site-packages\discord\ext\bridge\core.py", line 329, in decorator
return BridgeCommandGroup(callback, **kwargs)
File "D:\coding\dandelion_env\lib\site-packages\discord\ext\bridge\core.py", line 280, in __init__
self.slash_variant: BridgeSlashGroup = BridgeSlashGroup(callback, self.ext_variant.name, *args, **kwargs)
File "D:\coding\dandelion_env\lib\site-packages\discord\ext\bridge\core.py", line 88, in __init__
super().__init__(*args, **kwargs)
TypeError: __init__() got multiple values for argument 'name'Intents
default + message_content
System Information
- Python v3.9.9-final
- py-cord v2.1.3-final
- aiohttp v3.8.1
- system info: Windows 10 10.0.17763
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working