Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutocompleteHandler ¶
type AutocompleteHandler func(option *discordgo.ApplicationCommandInteractionDataOption) [][]string
type Bot ¶
func (*Bot) AddAutocompleteHandler ¶
func (b *Bot) AddAutocompleteHandler(key string, handler AutocompleteHandler)
func (*Bot) AddCommand ¶
func (b *Bot) AddCommand(command *discordgo.ApplicationCommand, handler CommandHandler)
func (*Bot) RegisterCommands ¶
func (b *Bot) RegisterCommands()
func (*Bot) UnregisterCommands ¶
func (b *Bot) UnregisterCommands()
type CommandHandler ¶
type CommandHandler func(i *discordgo.InteractionCreate) *discordgo.InteractionResponse
Click to show internal directories.
Click to hide internal directories.