Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) AddGlobalSlashCommand ¶
func (bot *Bot) AddGlobalSlashCommand(slashCommands ...SlashCommand) *Bot
func (*Bot) AddGuildSlashCommand ¶
func (bot *Bot) AddGuildSlashCommand(guildId string, slashCommands ...SlashCommand) *Bot
func (*Bot) AddSelectMenu ¶
func (bot *Bot) AddSelectMenu(selectMenus ...SelectMenu) *Bot
type SelectMenu ¶
type SelectMenu struct { CustomId string Handler func(session *discordgo.Session, interactionCreate *discordgo.InteractionCreate) }
type SlashCommand ¶
type SlashCommand struct { Command *discordgo.ApplicationCommand Handler func(session *discordgo.Session, interactionCreate *discordgo.InteractionCreate) // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.