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
I have problem with syncing more than 12 slash commands in one guild.
I have bot with 15 different slash commands in cogs, but when I try to sync it it sync only 12 commands, any snippet for syncing more than this limit or this a bug?
Syncing code:
@commands.command()asyncdefsync(self, ctx: commands.Context) ->None:
ifnotctx.author.guild_permissions.administrator:
awaitctx.send("You are not admin nobo")
returnfmt=awaitself.bot.tree.sync(guild=ctx.guild)
awaitctx.send(
f"Synced {len(fmt)} commands to the current guild.",
)
I creating commands using @app_commands.command(name="", description="")
I using discord.py v2.2.2 and python v3.8
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have problem with syncing more than 12 slash commands in one guild.
I have bot with 15 different slash commands in cogs, but when I try to sync it it sync only 12 commands, any snippet for syncing more than this limit or this a bug?
Syncing code:
I creating commands using @app_commands.command(name="", description="")
I using discord.py v2.2.2 and python v3.8
Beta Was this translation helpful? Give feedback.
All reactions