handler

package
v0.0.0-...-865decc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL