handler

package
v0.0.0-...-fb9d83c Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Meow

type Meow struct{}

Meow responds to "meow"

func (*Meow) Handle

func (h *Meow) Handle(m *discordgo.MessageCreate) (string, error)

Handle meows back

type Root

type Root struct {
	Handlers map[string]celexacreams.Handler
}

Root is the handler to rule all handlers

func (*Root) Handle

func (c *Root) Handle(m *discordgo.MessageCreate) (string, error)

Handle determines the command handler

type Snack

type Snack struct{}

Snack responds to "meow"

func (*Snack) Handle

func (h *Snack) Handle(m *discordgo.MessageCreate) (string, error)

Handle shows snack

Jump to

Keyboard shortcuts

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