command

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attack

type Attack struct {
}

func (Attack) Description

func (Attack) Description() string

func (Attack) Execute

func (Attack) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Attack) Name

func (Attack) Name() string

type Chat

type Chat struct {
}

func (Chat) Description

func (Chat) Description() string

func (Chat) Execute

func (Chat) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Chat) Name

func (Chat) Name() string

type Command

type Command interface {
	Name() string
	Description() string
	Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)
}

type Help

type Help struct {
	Commands []Command
}

func (Help) Description

func (Help) Description() string

func (Help) Execute

func (h Help) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Help) Name

func (Help) Name() string

type Join

type Join struct {
}

func (Join) Description

func (Join) Description() string

func (Join) Execute

func (Join) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Join) Name

func (Join) Name() string

type Jump

type Jump struct {
}

func (Jump) Description

func (Jump) Description() string

func (Jump) Execute

func (Jump) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Jump) Name

func (Jump) Name() string

type Leave

type Leave struct {
}

func (Leave) Description

func (Leave) Description() string

func (Leave) Execute

func (Leave) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Leave) Name

func (Leave) Name() string

type Move

type Move struct {
}

func (Move) Description

func (Move) Description() string

func (Move) Execute

func (Move) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Move) Name

func (Move) Name() string

type Ping

type Ping struct {
}

func (Ping) Description

func (Ping) Description() string

func (Ping) Execute

func (Ping) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Ping) Name

func (Ping) Name() string

type Query

type Query struct {
}

func (Query) Description

func (Query) Description() string

func (Query) Execute

func (Query) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Query) Name

func (Query) Name() string

type Rainbow

type Rainbow struct {
}

func (Rainbow) Description

func (Rainbow) Description() string

func (Rainbow) Execute

func (Rainbow) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Rainbow) Name

func (Rainbow) Name() string

type Sneak

type Sneak struct {
}

func (Sneak) Description

func (Sneak) Description() string

func (Sneak) Execute

func (Sneak) Execute(s *discordgo.Session, m *discordgo.MessageCreate, args []string)

func (Sneak) Name

func (Sneak) Name() string

Jump to

Keyboard shortcuts

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