Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { AppCommand discordgo.ApplicationCommand Handler func(s *discordgo.Session, interaction *discordgo.InteractionCreate) }
type Yada ¶
type Yada struct { Commands Commands Discord *discordgo.Session Config config.Config Queries *sqlite.Queries Images *images.Service Emojis *emojis.Service Muses *muses.Service Say *say.Service Reminders *reminders.Service }
func (*Yada) AllMessagesHandler ¶
func (y *Yada) AllMessagesHandler(ds *discordgo.Session, m *discordgo.MessageCreate)
func (*Yada) ChoiceHandler ¶
func (y *Yada) ChoiceHandler(s *discordgo.Session, interaction *discordgo.InteractionCreate)
func (*Yada) CleanupCommands ¶
func (y *Yada) CleanupCommands()
CleanupCommands deletes all existing commands. Kinda overkill, but who cares. :)
func (*Yada) InitializeCommands ¶
func (y *Yada) InitializeCommands()
Click to show internal directories.
Click to hide internal directories.