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) RegisterCommands ¶
type Command ¶
type Command struct {
Command *discordgo.ApplicationCommand
Handler InteractionHandler
}
type Config ¶
type Config struct {
DiscordConfig
DatabaseURL string
}
type DiscordConfig ¶
type InteractionHandler ¶
type InteractionHandler func(*discordgo.Session, *discordgo.InteractionCreate)
Click to show internal directories.
Click to hide internal directories.