commands

package
v0.0.0-...-26efd1a Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCommand

type HealthCommand struct {
	*command.BaseCommand
}

func NewHealthCommand

func NewHealthCommand() *HealthCommand

func (*HealthCommand) Active

func (hc *HealthCommand) Active() bool

func (*HealthCommand) Execute

func (hc *HealthCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*HealthCommand) Help

func (hc *HealthCommand) Help() string

func (*HealthCommand) Name

func (hc *HealthCommand) Name() string

type HelpCommand

type HelpCommand struct {
	*command.BaseCommand
}

func NewHelpCommand

func NewHelpCommand() *HelpCommand

func (*HelpCommand) Active

func (hc *HelpCommand) Active() bool

func (*HelpCommand) Execute

func (hc *HelpCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*HelpCommand) Help

func (hc *HelpCommand) Help() string

func (*HelpCommand) Name

func (hc *HelpCommand) Name() string

type PauseSongCommand

type PauseSongCommand struct {
	*command.BaseCommand
}

func NewPauseSongCommand

func NewPauseSongCommand() *PauseSongCommand

func (*PauseSongCommand) Active

func (psc *PauseSongCommand) Active() bool

func (*PauseSongCommand) Execute

func (psc *PauseSongCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*PauseSongCommand) Help

func (psc *PauseSongCommand) Help() string

func (*PauseSongCommand) Name

func (psc *PauseSongCommand) Name() string

type PingCommand

type PingCommand struct {
	*command.BaseCommand
}

func NewPingCommand

func NewPingCommand() *PingCommand

func (*PingCommand) Active

func (pc *PingCommand) Active() bool

func (*PingCommand) Execute

func (pc *PingCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*PingCommand) Help

func (pc *PingCommand) Help() string

func (*PingCommand) Name

func (pc *PingCommand) Name() string

type PlaySongCommand

type PlaySongCommand struct {
	*command.BaseCommand
}

func NewPlaySongCommand

func NewPlaySongCommand() *PlaySongCommand

func (*PlaySongCommand) Active

func (psc *PlaySongCommand) Active() bool

func (*PlaySongCommand) Execute

func (psc *PlaySongCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*PlaySongCommand) Help

func (psc *PlaySongCommand) Help() string

func (*PlaySongCommand) Name

func (psc *PlaySongCommand) Name() string

type SkipSongCommand

type SkipSongCommand struct {
	*command.BaseCommand
}

func NewSkipSongCommand

func NewSkipSongCommand() *SkipSongCommand

func (*SkipSongCommand) Active

func (ssc *SkipSongCommand) Active() bool

func (*SkipSongCommand) Execute

func (ssc *SkipSongCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*SkipSongCommand) Help

func (ssc *SkipSongCommand) Help() string

func (*SkipSongCommand) Name

func (ssc *SkipSongCommand) Name() string

type StopSongCommand

type StopSongCommand struct {
	*command.BaseCommand
}

func NewStopSongCommand

func NewStopSongCommand() *StopSongCommand

func (*StopSongCommand) Active

func (ssc *StopSongCommand) Active() bool

func (*StopSongCommand) Execute

func (ssc *StopSongCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*StopSongCommand) Help

func (ssc *StopSongCommand) Help() string

func (*StopSongCommand) Name

func (ssc *StopSongCommand) Name() string

type UnpauseSongCommand

type UnpauseSongCommand struct {
	*command.BaseCommand
}

func NewUnpauseSongCommand

func NewUnpauseSongCommand() *UnpauseSongCommand

func (*UnpauseSongCommand) Active

func (usc *UnpauseSongCommand) Active() bool

func (*UnpauseSongCommand) Execute

func (usc *UnpauseSongCommand) Execute(bot *bot.Bot, m *command.Message) error

func (*UnpauseSongCommand) Help

func (usc *UnpauseSongCommand) Help() string

func (*UnpauseSongCommand) Name

func (usc *UnpauseSongCommand) Name() string

Jump to

Keyboard shortcuts

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