core

package
v0.0.0-...-5841338 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	R = &runner{}
)

Functions

func Start

func Start(l *internal.Loader) (*state.State, error)

Types

type Bot

type Bot struct {
	Ctx *bot.Context
}

func (*Bot) Help

func (b *Bot) Help(*gateway.MessageCreateEvent) (string, error)

func (*Bot) Nadd

func (b *Bot) Nadd(e *gateway.MessageCreateEvent) (string, error)

func (*Bot) Nremove

func (b *Bot) Nremove(e *gateway.MessageCreateEvent) (string, error)

func (*Bot) Nsdel

func (b *Bot) Nsdel(*gateway.MessageCreateEvent) (string, error)

func (*Bot) Nshow

func (b *Bot) Nshow(*gateway.MessageCreateEvent) (string, error)

func (*Bot) Ping

func (b *Bot) Ping(*gateway.MessageCreateEvent) (string, error)

func (*Bot) Quote

func (b *Bot) Quote(*gateway.MessageCreateEvent) (string, error)

func (*Bot) Short

func (b *Bot) Short(e *gateway.MessageCreateEvent) (string, error)

func (*Bot) Xkcd

func (b *Bot) Xkcd(e *gateway.MessageCreateEvent) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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