You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/data/data/com.termux/files/home/repro.py", line 8, in <module>
@bot.bridge_group(name="test")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/tests/lib/python3.11/site-packages/discord/ext/bridge/bot.py", line 103, in decorator
result = bridge_group(**kwargs)(func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/tests/lib/python3.11/site-packages/discord/ext/bridge/core.py", line 386, in decorator
return BridgeCommandGroup(callback, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/tests/lib/python3.11/site-packages/discord/ext/bridge/core.py", line 321, in __init__
slash_variant=BridgeSlashGroup(callback, ext_var.name, *args, **kwargs),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/data/com.termux/files/home/tests/lib/python3.11/site-packages/discord/ext/bridge/core.py", line 105, in __init__
super().__init__(*args, **kwargs)
TypeError: SlashCommandGroup.__init__() got multiple values for argument 'name'
Intents
None
System Information
Python v3.11.1-final
py-cord v2.4.1-final
aiohttp v3.8.3
system info: Linux 4.14.190-perf-gc61d39ef577d-dirty # 2 SMP PREEMPT Sun May 29 00:58:57 CST 2022
Summary
@bridge_group(name="name")
gives errorReproduction Steps
Create bridge group with a
name=
Minimal Reproducible Code
Expected Results
Command registration
Actual Results
Intents
None
System Information
Checklist
Additional Context
It was fixed but got broken again, see #1628
The text was updated successfully, but these errors were encountered: