commands

package
v0.0.0-...-bc78d29 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bind

type Bind struct {
	DB      database.Middleware
	Player  *player.Player
	PermLvl int
}

Bind provides command functionalities for the bind command

func (*Bind) Exec

func (c *Bind) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Bind) GetDescription

func (c *Bind) GetDescription() string

GetDescription returns the description for this command

func (*Bind) GetGroup

func (c *Bind) GetGroup() string

GetGroup returns the group of the command

func (*Bind) GetHelp

func (c *Bind) GetHelp() string

GetHelp returns the help text for this command.

func (*Bind) GetInvokes

func (c *Bind) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Bind) GetPermission

func (c *Bind) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Join

type Join struct {
	Player  *player.Player
	PermLvl int
}

Join provides command functionalities for the leave command

func (*Join) Exec

func (c *Join) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Join) GetDescription

func (c *Join) GetDescription() string

GetDescription returns the description for this command

func (*Join) GetGroup

func (c *Join) GetGroup() string

GetGroup returns the group of the command

func (*Join) GetHelp

func (c *Join) GetHelp() string

GetHelp returns the help text for this command.

func (*Join) GetInvokes

func (c *Join) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Join) GetPermission

func (c *Join) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Leave

type Leave struct {
	Player  *player.Player
	PermLvl int
}

Leave provides command functionalities for the leave command

func (*Leave) Exec

func (c *Leave) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Leave) GetDescription

func (c *Leave) GetDescription() string

GetDescription returns the description for this command

func (*Leave) GetGroup

func (c *Leave) GetGroup() string

GetGroup returns the group of the command

func (*Leave) GetHelp

func (c *Leave) GetHelp() string

GetHelp returns the help text for this command.

func (*Leave) GetInvokes

func (c *Leave) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Leave) GetPermission

func (c *Leave) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type List

type List struct {
	Player  *player.Player
	PermLvl int
}

List provides command functionalities for the list command

func (*List) Exec

func (c *List) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*List) GetDescription

func (c *List) GetDescription() string

GetDescription returns the description for this command

func (*List) GetGroup

func (c *List) GetGroup() string

GetGroup returns the group of the command

func (*List) GetHelp

func (c *List) GetHelp() string

GetHelp returns the help text for this command.

func (*List) GetInvokes

func (c *List) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*List) GetPermission

func (c *List) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Log

type Log struct {
	DB      database.Middleware
	PermLvl int
}

Log provides command functionalities for the log command

func (*Log) Exec

func (c *Log) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Log) GetDescription

func (c *Log) GetDescription() string

GetDescription returns the description for this command

func (*Log) GetGroup

func (c *Log) GetGroup() string

GetGroup returns the group of the command

func (*Log) GetHelp

func (c *Log) GetHelp() string

GetHelp returns the help text for this command.

func (*Log) GetInvokes

func (c *Log) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Log) GetPermission

func (c *Log) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Play

type Play struct {
	Player *player.Player
}

Play provides command functionalities for the play command

func (*Play) Exec

func (c *Play) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Play) GetDescription

func (c *Play) GetDescription() string

GetDescription returns the description for this command

func (*Play) GetGroup

func (c *Play) GetGroup() string

GetGroup returns the group of the command

func (*Play) GetHelp

func (c *Play) GetHelp() string

GetHelp returns the help text for this command.

func (*Play) GetInvokes

func (c *Play) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Play) GetPermission

func (c *Play) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Prefix

type Prefix struct {
	PermLvl int
	DB      database.Middleware
}

Prefix provides command functionalities for the prefix command

func (*Prefix) Exec

func (c *Prefix) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Prefix) GetDescription

func (c *Prefix) GetDescription() string

GetDescription returns the description for this command

func (*Prefix) GetGroup

func (c *Prefix) GetGroup() string

GetGroup returns the group of the command

func (*Prefix) GetHelp

func (c *Prefix) GetHelp() string

GetHelp returns the help text for this command.

func (*Prefix) GetInvokes

func (c *Prefix) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Prefix) GetPermission

func (c *Prefix) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Random

type Random struct {
	Player  *player.Player
	PermLvl int
}

Random provides command functionalities for the random command

func (*Random) Exec

func (c *Random) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Random) GetDescription

func (c *Random) GetDescription() string

GetDescription returns the description for this command

func (*Random) GetGroup

func (c *Random) GetGroup() string

GetGroup returns the group of the command

func (*Random) GetHelp

func (c *Random) GetHelp() string

GetHelp returns the help text for this command.

func (*Random) GetInvokes

func (c *Random) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Random) GetPermission

func (c *Random) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Refetch

type Refetch struct {
	Player  *player.Player
	PermLvl int
}

Refetch provides command functionalities for the refetch command

func (*Refetch) Exec

func (c *Refetch) Exec(args *discordgocmds.CommandArgs) error

Exec is the acual function which will be executed when the command was invoked.

func (*Refetch) GetDescription

func (c *Refetch) GetDescription() string

GetDescription returns the description for this command

func (*Refetch) GetGroup

func (c *Refetch) GetGroup() string

GetGroup returns the group of the command

func (*Refetch) GetHelp

func (c *Refetch) GetHelp() string

GetHelp returns the help text for this command.

func (*Refetch) GetInvokes

func (c *Refetch) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Refetch) GetPermission

func (c *Refetch) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Search struct {
	Player  *player.Player
	PermLvl int
}

Search provides command functionalities for the search command

func (*Search) Exec

func (c *Search) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Search) GetDescription

func (c *Search) GetDescription() string

GetDescription returns the description for this command

func (*Search) GetGroup

func (c *Search) GetGroup() string

GetGroup returns the group of the command

func (*Search) GetHelp

func (c *Search) GetHelp() string

GetHelp returns the help text for this command.

func (*Search) GetInvokes

func (c *Search) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Search) GetPermission

func (c *Search) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Stats

type Stats struct {
	DB      database.Middleware
	PermLvl int
}

Stats provides command functionalities for the stats command

func (*Stats) Exec

func (c *Stats) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Stats) GetDescription

func (c *Stats) GetDescription() string

GetDescription returns the description for this command

func (*Stats) GetGroup

func (c *Stats) GetGroup() string

GetGroup returns the group of the command

func (*Stats) GetHelp

func (c *Stats) GetHelp() string

GetHelp returns the help text for this command.

func (*Stats) GetInvokes

func (c *Stats) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Stats) GetPermission

func (c *Stats) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Stop

type Stop struct {
	Player  *player.Player
	PermLvl int
}

Stop provides command functionalities for the random command

func (*Stop) Exec

func (c *Stop) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Stop) GetDescription

func (c *Stop) GetDescription() string

GetDescription returns the description for this command

func (*Stop) GetGroup

func (c *Stop) GetGroup() string

GetGroup returns the group of the command

func (*Stop) GetHelp

func (c *Stop) GetHelp() string

GetHelp returns the help text for this command.

func (*Stop) GetInvokes

func (c *Stop) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Stop) GetPermission

func (c *Stop) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Test

type Test struct {
	PermLvl int
	DB      database.Middleware
	Player  *player.Player
}

Test provides command functionalities for the test command

func (*Test) Exec

func (c *Test) Exec(args *discordgocmds.CommandArgs) error

Exec is the acual function which will be executed when the command was invoked.

func (*Test) GetDescription

func (c *Test) GetDescription() string

GetDescription returns the description for this command

func (*Test) GetGroup

func (c *Test) GetGroup() string

GetGroup returns the group of the command

func (*Test) GetHelp

func (c *Test) GetHelp() string

GetHelp returns the help text for this command.

func (*Test) GetInvokes

func (c *Test) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Test) GetPermission

func (c *Test) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type Volume

type Volume struct {
	DB      database.Middleware
	Player  *player.Player
	PermLvl int
}

Volume provides command functionalities for the volume command

func (*Volume) Exec

func (c *Volume) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*Volume) GetDescription

func (c *Volume) GetDescription() string

GetDescription returns the description for this command

func (*Volume) GetGroup

func (c *Volume) GetGroup() string

GetGroup returns the group of the command

func (*Volume) GetHelp

func (c *Volume) GetHelp() string

GetHelp returns the help text for this command.

func (*Volume) GetInvokes

func (c *Volume) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*Volume) GetPermission

func (c *Volume) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

type YouTube

type YouTube struct {
	Player  *player.Player
	PermLvl int
}

YouTube provides command functionalities for the yt command

func (*YouTube) Exec

func (c *YouTube) Exec(args *discordgocmds.CommandArgs) error

Exec is the actual function which will be executed when the command was invoked.

func (*YouTube) GetDescription

func (c *YouTube) GetDescription() string

GetDescription returns the description for this command

func (*YouTube) GetGroup

func (c *YouTube) GetGroup() string

GetGroup returns the group of the command

func (*YouTube) GetHelp

func (c *YouTube) GetHelp() string

GetHelp returns the help text for this command.

func (*YouTube) GetInvokes

func (c *YouTube) GetInvokes() []string

GetInvokes returns the invokes for this command.

func (*YouTube) GetPermission

func (c *YouTube) GetPermission() int

GetPermission returns the minimum required required permission level to execute this command.

Jump to

Keyboard shortcuts

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