discord_handler

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoSearchInfo added in v0.14.0

type AutoSearchInfo struct {
	Name        string `json:"name"`
	Title       string `json:"title"`
	Channel     string `json:"channel"`
	Genre       string `json:"genre"`
	FuzzySearch bool   `json:"fuzzy_search"`
	RegexSearch bool   `json:"regex_search"`
	KanaSearch  bool   `json:"kana_search"`
	Record      bool   `json:"record"`
}

type DiscordHandler

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

func NewDiscordHandler

func NewDiscordHandler(dtv *dtv.DTVUsecase, client *discord_client.DiscordClient, session *discordgo.Session, logger *zap.Logger) *DiscordHandler

func (*DiscordHandler) AddReactionAddHandler

func (h *DiscordHandler) AddReactionAddHandler()

func (*DiscordHandler) AddReactionRemoveHandler

func (h *DiscordHandler) AddReactionRemoveHandler()

func (*DiscordHandler) CommandHandler added in v0.14.0

func (h *DiscordHandler) CommandHandler(s *discordgo.Session, i *discordgo.InteractionCreate)

func (*DiscordHandler) RegisterCommand added in v0.13.0

func (h *DiscordHandler) RegisterCommand()

func (*DiscordHandler) UnregisterCommand added in v0.14.0

func (h *DiscordHandler) UnregisterCommand()

Jump to

Keyboard shortcuts

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