commands

package
v0.0.0-...-140db51 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 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 Talk

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

func NewTalk

func NewTalk(maxHistoryLength int, chatID string) *Talk

func (*Talk) ChatID

func (t *Talk) ChatID() string

func (*Talk) Command

func (t *Talk) Command() string

func (*Talk) Handle

func (t *Talk) Handle(s *discordgo.Session, m *discordgo.MessageCreate)

type World

type World struct{}

func (*World) ChatID

func (w *World) ChatID() string

func (*World) Command

func (w *World) Command() string

func (*World) Handle

func (w *World) Handle(s *discordgo.Session, m *discordgo.MessageCreate)

Jump to

Keyboard shortcuts

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