handlers

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const HandlerLoggerFieldKey = "bloopyHandler"

Variables

This section is empty.

Functions

This section is empty.

Types

type BlissfestCommand added in v0.4.7

type BlissfestCommand struct {
	Name        string
	Description string
	// contains filtered or unexported fields
}

func NewBlissfestCommand added in v0.4.7

func NewBlissfestCommand(svc *services.BlissfestService) *BlissfestCommand

func (*BlissfestCommand) GetAppCommand added in v0.4.7

func (p *BlissfestCommand) GetAppCommand() *discordgo.ApplicationCommand

func (*BlissfestCommand) GetAppCommandHandler added in v0.4.7

func (p *BlissfestCommand) GetAppCommandHandler() func(s *discordgo.Session, i *discordgo.InteractionCreate)

func (*BlissfestCommand) GetMessageComponentHandlers added in v0.4.7

func (p *BlissfestCommand) GetMessageComponentHandlers() map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate)

type BookCommand added in v0.4.7

type BookCommand struct {
	Name        string
	Description string
	// contains filtered or unexported fields
}

func NewBookCommand added in v0.4.7

func NewBookCommand(bookSvc *services.BookService) *BookCommand

func (*BookCommand) GetAppCommand added in v0.4.7

func (b *BookCommand) GetAppCommand() *discordgo.ApplicationCommand

func (*BookCommand) GetAppCommandHandler added in v0.4.7

func (b *BookCommand) GetAppCommandHandler() func(s *discordgo.Session, i *discordgo.InteractionCreate)

func (*BookCommand) GetMessageComponentHandlers added in v0.4.7

func (b *BookCommand) GetMessageComponentHandlers() map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate)

type InspiroCommand added in v0.4.7

type InspiroCommand struct {
	Name        string
	Description string
	// contains filtered or unexported fields
}

func NewInspiroCommand added in v0.4.7

func NewInspiroCommand(svc *services.InspiroService) *InspiroCommand

func (*InspiroCommand) GetAppCommand added in v0.4.7

func (p *InspiroCommand) GetAppCommand() *discordgo.ApplicationCommand

func (*InspiroCommand) GetAppCommandHandler added in v0.4.7

func (p *InspiroCommand) GetAppCommandHandler() func(s *discordgo.Session, i *discordgo.InteractionCreate)

func (*InspiroCommand) GetMessageComponentHandlers added in v0.4.7

func (p *InspiroCommand) GetMessageComponentHandlers() map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate)

type MessageChanBlooper

type MessageChanBlooper struct {
	// contains filtered or unexported fields
}

func NewMessageChanBlooper

func NewMessageChanBlooper(
	insproSvc *services.InspiroService,
	createCh *chan *discordgo.MessageCreate,
	reactACh *chan *discordgo.MessageReactionAdd,
	reactRCh *chan *discordgo.MessageReactionRemove,
	msgSendChan *chan *models.DiscordMessageSendRequest,
) *MessageChanBlooper

func (*MessageChanBlooper) Start

func (mcb *MessageChanBlooper) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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