Documentation ¶
Index ¶
- type EventHandler
- func (h *EventHandler) InitCommands(appID snowflake.ID) error
- func (h *EventHandler) OnCommandInteractionCreate(e *events.ApplicationCommandInteractionCreate)
- func (h *EventHandler) OnGuildMessageCreate(e *events.GuildMessageCreate)
- func (h *EventHandler) OnGuildMessageDelete(e *events.GuildMessageDelete)
- func (h *EventHandler) OnGuildMessageUpdate(e *events.GuildMessageUpdate)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct { Ctx context.Context Cfg config.Config Rest rest.Rest DB *sql.DB // contains filtered or unexported fields }
func (*EventHandler) InitCommands ¶
func (h *EventHandler) InitCommands(appID snowflake.ID) error
func (*EventHandler) OnCommandInteractionCreate ¶
func (h *EventHandler) OnCommandInteractionCreate(e *events.ApplicationCommandInteractionCreate)
func (*EventHandler) OnGuildMessageCreate ¶
func (h *EventHandler) OnGuildMessageCreate(e *events.GuildMessageCreate)
func (*EventHandler) OnGuildMessageDelete ¶
func (h *EventHandler) OnGuildMessageDelete(e *events.GuildMessageDelete)
func (*EventHandler) OnGuildMessageUpdate ¶
func (h *EventHandler) OnGuildMessageUpdate(e *events.GuildMessageUpdate)
Click to show internal directories.
Click to hide internal directories.