Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build() map[string]*SlashCommand
func InteractionRespond ¶
func InteractionRespond(s *discordgo.Session, i *discordgo.InteractionCreate, content string)
Types ¶
type CommandHandler ¶
type CommandHandler func(s *discordgo.Session, i *discordgo.InteractionCreate)
type SlashCommand ¶
type SlashCommand struct { Spec discordgo.ApplicationCommand Handler CommandHandler }
Click to show internal directories.
Click to hide internal directories.