bot

package
v0.0.0-...-51943a4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmojiNameBot

func NewEmojiNameBot() discord.Bot

func NewHuntYetBot

func NewHuntYetBot() discord.Bot

func NewPuzzleBot

func NewPuzzleBot(discord *discord.Client, state *state.Client) discord.Bot

func NewQMBot

func NewQMBot(discord *discord.Client, state *state.Client) discord.Bot

func NewReminderBot

func NewReminderBot(main context.Context, discord *discord.Client, state *state.Client) discord.Bot

Types

type EmojiNameBot

type EmojiNameBot struct{}

func (*EmojiNameBot) Handle

func (b *EmojiNameBot) Handle(ctx context.Context, input *discord.CommandInput) (string, error)

func (*EmojiNameBot) HandleScheduledEvent

func (*EmojiNameBot) Register

func (b *EmojiNameBot) Register() (*discordgo.ApplicationCommand, bool)

type HuntYetBot

type HuntYetBot struct{}

func (*HuntYetBot) Handle

func (b *HuntYetBot) Handle(ctx context.Context, input *discord.CommandInput) (string, error)

func (*HuntYetBot) HandleScheduledEvent

func (*HuntYetBot) Register

func (b *HuntYetBot) Register() (*discordgo.ApplicationCommand, bool)

type PuzzleBot

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

func (*PuzzleBot) Handle

func (b *PuzzleBot) Handle(ctx context.Context, input *discord.CommandInput) (string, error)

func (*PuzzleBot) HandleScheduledEvent

func (b *PuzzleBot) HandleScheduledEvent(ctx context.Context,
	i *discordgo.GuildScheduledEventUpdate) error

func (*PuzzleBot) Register

func (b *PuzzleBot) Register() (*discordgo.ApplicationCommand, bool)

type QMBot

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

func (*QMBot) Handle

func (b *QMBot) Handle(ctx context.Context, input *discord.CommandInput) (string, error)

func (*QMBot) HandleScheduledEvent

func (b *QMBot) HandleScheduledEvent(context.Context,
	*discordgo.GuildScheduledEventUpdate) error

func (*QMBot) Register

func (b *QMBot) Register() (*discordgo.ApplicationCommand, bool)

type ReminderBot

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

func (*ReminderBot) Handle

func (b *ReminderBot) Handle(ctx context.Context, input *discord.CommandInput) (string, error)

func (*ReminderBot) HandleScheduledEvent

func (*ReminderBot) Register

func (b *ReminderBot) Register() (*discordgo.ApplicationCommand, bool)

Jump to

Keyboard shortcuts

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