Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var C *api.Component
Functions ¶
func HandleSyncCommandSubCommand ¶
func HandleSyncCommandSubCommand( s *discordgo.Session, i *discordgo.InteractionCreate, _ *discordgo.ApplicationCommandInteractionDataOption, )
HandleSyncCommandSubCommand handles the execution of the "sync_commands" subcommand.
The command allows to trigger re-sync of the commands registered for in case a bot administrator thinks there is an inconsistency.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.