clear

package
v0.0.0-...-094d83a Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeAll                    = "all"
	TypeHasEmbedOrAttachment   = "has:embed||has:attachment"
	TypeHasNoEmbedOrAttachment = "!has:embed&&!has:attachment"
	TypeHasAttachment          = "has:attachment"
	TypeHasEmbed               = "has:embed"
	TypeHasNoEmbed             = "!has:embed"
	TypeHasMention             = "has:mention"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	basecommand.Command
}

func New

func New() *Command

func (*Command) Description

func (c *Command) Description() string

func (*Command) Run

func (c *Command) Run(s *discordgo.Session, m *discordgo.MessageCreate, parts []string) (res pkg.CommandResult)

type Type

type Type string

Jump to

Keyboard shortcuts

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