commands

package
v0.0.0-...-2edfbda Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func OnRolMembers

func OnRolMembers(ctx *util.JContext) error

Types

type CommandTest

type CommandTest struct {
	discord.SlashCommandCreate
}

func (*CommandTest) Error

func (c *CommandTest) Error(ctx *util.JContext, err error)

func (*CommandTest) Init

func (c *CommandTest) Init(util.JHRegister)

func (*CommandTest) Run

func (c *CommandTest) Run(ctx *util.JContext) error

type FixCMD

type FixCMD struct {
	discord.SlashCommandCreate
}

func (*FixCMD) Error

func (t *FixCMD) Error(ctx *util.JContext, err error)

func (*FixCMD) Init

func (c *FixCMD) Init(util.JHRegister)

func (*FixCMD) Run

func (c *FixCMD) Run(ctx *util.JContext) error

TODO - Organize

type Help

type Help struct {
	discord.SlashCommandCreate
}

func (*Help) Error

func (c *Help) Error(ctx *util.JContext, err error)

func (*Help) Init

func (c *Help) Init(util.JHRegister)

func (*Help) Run

func (c *Help) Run(ctx *util.JContext) error

type NewCmd

type NewCmd struct {
	discord.SlashCommandCreate
}

func (*NewCmd) Error

func (c *NewCmd) Error(ctx *util.JContext, err error)

func (*NewCmd) Init

func (c *NewCmd) Init(r util.JHRegister)

func (*NewCmd) Run

func (c *NewCmd) Run(ctx *util.JContext) error

type Ping

type Ping struct {
	discord.SlashCommandCreate
}

func (*Ping) Error

func (t *Ping) Error(ctx *util.JContext, err error)

func (*Ping) Init

func (c *Ping) Init(util.JHRegister)

func (*Ping) Run

func (c *Ping) Run(ctx *util.JContext) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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