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
@bot.bridge_group fails to create a bridge command group.
Reproduction Steps
Make a bridge group, not in a cog, but in the main bot file.
put in your token
start the bot
it should fail
Minimal Reproducible Code
importdiscordfromdiscord.extimportcommandsfromdiscord.extimportbridgeintents=discord.Intents.all()
bot=bridge.AutoShardedBot(command_prefix=commands.when_mentioned_or("!"), intents=intents, auto_sync_commands=True)
@bot.eventasyncdefon_ready():
print(f"{bot.user} is ready and online!")
@bot.bridge_group(invoke_without_command=True, help="Showing categories for commands.")@bridge.map_to("help", "Shows the basic help menu.")asyncdefhelp(ctx):
e=discord.Embed(
description="test",
)
awaitctx.respond(embed=e)
bot.run("token")
Expected Results
The commands and the bridge group would work like it did in 2.2.2
Actual Results
It fails with an error., and the bot wont even start.
Intents
all
System Information
Python v3.11.0-final
py-cord v2.3.None-final (tried on the release version too)
aiohttp v3.8.3
system info: Windows 10 10.0.22000
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
Worked good in pycord 2.2.2 and on py 3.10.7
Updated to 3.11 and 2.3.0 uninstalled the any other python version other than 3.11 and still not works.
I also checked that python is added to the path, and it is.
Honestly i dont know what is happening here.
The text was updated successfully, but these errors were encountered:
Summary
@bot.bridge_group fails to create a bridge command group.
Reproduction Steps
Minimal Reproducible Code
Expected Results
The commands and the bridge group would work like it did in 2.2.2
Actual Results
It fails with an error., and the bot wont even start.
Intents
all
System Information
Checklist
Additional Context
Worked good in pycord 2.2.2 and on py 3.10.7
Updated to 3.11 and 2.3.0 uninstalled the any other python version other than 3.11 and still not works.
I also checked that python is added to the path, and it is.
Honestly i dont know what is happening here.
The text was updated successfully, but these errors were encountered: