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: |
Answered by
NeloBlivion
Mar 17, 2022
Replies: 1 comment 4 replies
|
You overwrote on_connect, which normally handles command syncing. In |
4 replies
Answer selected by
Dorukyum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.