commands

package
v0.0.0-...-e78ef58 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collect

type Collect struct {
	St  storage.StorageProvider
	Cfg config.ConfigProvider
}

func (*Collect) Description

func (c *Collect) Description() string

func (*Collect) IsLimiterGlobal

func (c *Collect) IsLimiterGlobal() bool

func (*Collect) LimiterBurst

func (c *Collect) LimiterBurst() int

func (*Collect) LimiterRestoration

func (c *Collect) LimiterRestoration() time.Duration

func (*Collect) Name

func (c *Collect) Name() string

func (*Collect) Options

func (c *Collect) Options() []*discordgo.ApplicationCommandOption

func (*Collect) Run

func (c *Collect) Run(ctx *ken.Ctx) (err error)

func (*Collect) Type

func (*Collect) Version

func (c *Collect) Version() string

type Info

type Info struct{}

func (*Info) Description

func (c *Info) Description() string

func (*Info) Name

func (c *Info) Name() string

func (*Info) Options

func (c *Info) Options() []*discordgo.ApplicationCommandOption

func (*Info) Run

func (c *Info) Run(ctx *ken.Ctx) (err error)

func (*Info) Type

func (*Info) Version

func (c *Info) Version() string

Jump to

Keyboard shortcuts

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