Skip to content

Registering commands in the GuildAvailable event doesn't seem to work #1632

Answered by Plerx2493
Metritutus asked this question in Support
Discussion options

You must be logged in to vote

You have to register your commands before connecting to the gateway. Like you said before ConnectAsync. If you want to lock your commands to one specific guild, you should save the id in your config or hardcode it. If you want to register them for all guild then simply dont provide a id and they will be registered globally

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Metritutus
Comment options

@akiraveliara
Comment options

@Metritutus
Comment options

@akiraveliara
Comment options

@Metritutus
Comment options

Answer selected by Plerx2493
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants