versioncommand

package
v0.0.0-...-fcfa919 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CommandName is the name of the command
	CommandName = "version"
)

Variables

This section is empty.

Functions

func GetCommandData

func GetCommandData() api.CreateCommandData

Types

type Command

type Command struct {
	handler.IHandler
}

func NewCommand

func NewCommand(handler handler.IHandler) Command

func (Command) GetCommandName

func (c Command) GetCommandName() string

func (Command) RespondVersion

func (c Command) RespondVersion() *api.InteractionResponseData

Jump to

Keyboard shortcuts

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