commands

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandDayOff

type CommandDayOff struct {
	Svc service.Service
}

func (*CommandDayOff) Description

func (c *CommandDayOff) Description() string

func (*CommandDayOff) Exec

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

func (*CommandDayOff) Invokes

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

func (*CommandDayOff) IsAdminRequired added in v1.1.7

func (c *CommandDayOff) IsAdminRequired() bool

type CommandDefaultSchedule

type CommandDefaultSchedule struct {
	Svc service.Service
}

func (*CommandDefaultSchedule) Description

func (c *CommandDefaultSchedule) Description() string

func (*CommandDefaultSchedule) Exec

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

func (*CommandDefaultSchedule) Invokes

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

func (*CommandDefaultSchedule) IsAdminRequired added in v1.1.7

func (c *CommandDefaultSchedule) IsAdminRequired() bool

type CommandGetUsers

type CommandGetUsers struct {
	Svc service.Service
}

func (*CommandGetUsers) Description

func (c *CommandGetUsers) Description() string

func (*CommandGetUsers) Exec

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

func (*CommandGetUsers) Invokes

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

func (*CommandGetUsers) IsAdminRequired added in v1.1.7

func (c *CommandGetUsers) 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 added in v1.1.7

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 added in v1.1.7

func (c *CommandHelp) IsAdminRequired() bool

type CommandPrintSchedule added in v1.1.2

type CommandPrintSchedule struct {
	Svc service.Service
}

func (*CommandPrintSchedule) Description added in v1.1.2

func (c *CommandPrintSchedule) Description() string

func (*CommandPrintSchedule) Exec added in v1.1.2

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

func (*CommandPrintSchedule) Invokes added in v1.1.2

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

func (*CommandPrintSchedule) IsAdminRequired added in v1.1.7

func (c *CommandPrintSchedule) IsAdminRequired() bool

type CommandPunch

type CommandPunch struct {
	Svc service.Service
}

func (*CommandPunch) Description

func (c *CommandPunch) Description() string

func (*CommandPunch) Exec

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

func (*CommandPunch) Invokes

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

func (*CommandPunch) IsAdminRequired added in v1.1.7

func (c *CommandPunch) IsAdminRequired() bool

type CommandPunchOnTime added in v1.1.2

type CommandPunchOnTime struct {
	Svc service.Service
}

func (*CommandPunchOnTime) Description added in v1.1.2

func (c *CommandPunchOnTime) Description() string

func (*CommandPunchOnTime) Exec added in v1.1.2

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

func (*CommandPunchOnTime) Invokes added in v1.1.2

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

func (*CommandPunchOnTime) IsAdminRequired added in v1.1.7

func (c *CommandPunchOnTime) IsAdminRequired() bool

type CommandPunchUserOnTime added in v1.1.7

type CommandPunchUserOnTime struct {
	Svc service.Service
}

func (*CommandPunchUserOnTime) Description added in v1.1.7

func (c *CommandPunchUserOnTime) Description() string

func (*CommandPunchUserOnTime) Exec added in v1.1.7

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

func (*CommandPunchUserOnTime) Invokes added in v1.1.7

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

func (*CommandPunchUserOnTime) IsAdminRequired added in v1.1.7

func (c *CommandPunchUserOnTime) IsAdminRequired() bool

type CommandRegister

type CommandRegister struct {
	Svc service.Service
}

func (*CommandRegister) Description

func (c *CommandRegister) Description() string

func (*CommandRegister) Exec

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

func (*CommandRegister) Invokes

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

func (*CommandRegister) IsAdminRequired added in v1.1.7

func (c *CommandRegister) IsAdminRequired() bool

type CommandSetSchedule added in v1.1.2

type CommandSetSchedule struct {
	Svc service.Service
}

func (*CommandSetSchedule) Description added in v1.1.2

func (c *CommandSetSchedule) Description() string

func (*CommandSetSchedule) Exec added in v1.1.2

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

func (*CommandSetSchedule) Invokes added in v1.1.2

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

func (*CommandSetSchedule) IsAdminRequired added in v1.1.7

func (c *CommandSetSchedule) IsAdminRequired() bool

type CommandUpdateAccount added in v1.1.2

type CommandUpdateAccount struct {
	Svc service.Service
}

func (*CommandUpdateAccount) Description added in v1.1.2

func (c *CommandUpdateAccount) Description() string

func (*CommandUpdateAccount) Exec added in v1.1.2

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

func (*CommandUpdateAccount) Invokes added in v1.1.2

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

func (*CommandUpdateAccount) IsAdminRequired added in v1.1.7

func (c *CommandUpdateAccount) IsAdminRequired() bool

type CommandWhoAmI

type CommandWhoAmI struct {
	Svc service.Service
}

func (*CommandWhoAmI) Description

func (c *CommandWhoAmI) Description() string

func (*CommandWhoAmI) Exec

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

func (*CommandWhoAmI) Invokes

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

func (*CommandWhoAmI) IsAdminRequired added in v1.1.7

func (c *CommandWhoAmI) IsAdminRequired() bool

Jump to

Keyboard shortcuts

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