snail

package
v0.0.0-...-ca060dc Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Speed = 30 // seconds

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	ID       discord.ChannelID
	SlowMode uint32
}

type Guild

type Guild struct {
	Channels []Channel
}

type Snail

type Snail struct {
	Ctx *bot.Context
	// contains filtered or unexported fields
}

func New

func New(node db.Node) *Snail

func (*Snail) Setup

func (c *Snail) Setup(sub *bot.Subcommand)

func (*Snail) Toggle

func (c *Snail) Toggle(m *gateway.MessageCreateEvent, args bot.RawArguments) (string, error)

Jump to

Keyboard shortcuts

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