slash commands work only with (await bot.register_commands(guild_id=guild.id)) #1178
-
|
I want to make slash commands, but i have many problems: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
You overwrote on_connect, which normally handles command syncing. In |
Beta Was this translation helpful? Give feedback.
You overwrote on_connect, which normally handles command syncing. In
on_connect, you should addawait bot.sync_commands()Also bear in mind global commands can take up to an hour to register.