commands

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandAddWatcher

type CommandAddWatcher struct {
	Svc service.Service
}

func (*CommandAddWatcher) Description

func (c *CommandAddWatcher) Description() string

func (*CommandAddWatcher) Exec

func (c *CommandAddWatcher) Exec(ctx *bot.Context) (err error)

func (*CommandAddWatcher) Invokes

func (c *CommandAddWatcher) Invokes() []string

func (*CommandAddWatcher) IsAdminRequired

func (c *CommandAddWatcher) IsAdminRequired() bool

type CommandDeleteWatcher

type CommandDeleteWatcher struct {
	Svc service.Service
}

func (*CommandDeleteWatcher) Description

func (c *CommandDeleteWatcher) Description() string

func (*CommandDeleteWatcher) Exec

func (c *CommandDeleteWatcher) Exec(ctx *bot.Context) (err error)

func (*CommandDeleteWatcher) Invokes

func (c *CommandDeleteWatcher) Invokes() []string

func (*CommandDeleteWatcher) IsAdminRequired

func (c *CommandDeleteWatcher) IsAdminRequired() bool

type CommandHealth

type CommandHealth struct {
	Svc service.Service
}

func (*CommandHealth) Description

func (c *CommandHealth) Description() string

func (*CommandHealth) Exec

func (c *CommandHealth) Exec(ctx *bot.Context) (err error)

func (*CommandHealth) Invokes

func (c *CommandHealth) Invokes() []string

func (*CommandHealth) IsAdminRequired

func (c *CommandHealth) IsAdminRequired() bool

type CommandHelp

type CommandHelp struct {
	Cfg *config.Config
}

func (*CommandHelp) Description

func (c *CommandHelp) Description() string

func (*CommandHelp) Exec

func (c *CommandHelp) Exec(ctx *bot.Context) (err error)

func (*CommandHelp) Invokes

func (c *CommandHelp) Invokes() []string

func (*CommandHelp) IsAdminRequired

func (c *CommandHelp) IsAdminRequired() bool

type CommandPrintWatchers

type CommandPrintWatchers struct {
	Svc service.Service
}

func (*CommandPrintWatchers) Description

func (c *CommandPrintWatchers) Description() string

func (*CommandPrintWatchers) Exec

func (c *CommandPrintWatchers) Exec(ctx *bot.Context) (err error)

func (*CommandPrintWatchers) Invokes

func (c *CommandPrintWatchers) Invokes() []string

func (*CommandPrintWatchers) IsAdminRequired

func (c *CommandPrintWatchers) IsAdminRequired() bool

Jump to

Keyboard shortcuts

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