cmdrules

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Get

type Get struct {
	Name        string
	Description string
	Options     []discord.ApplicationCommandOption
	Category    cmdtypes.Category
}

func (Get) CommandCreateData

func (c Get) CommandCreateData() discord.SlashCommandCreate

func (Get) Handle

func (c Get) Handle(event *events.ApplicationCommandInteractionCreate, rulesByName map[string]*rules.SimplifiedRule)

func (Get) Usage

func (c Get) Usage() string

Jump to

Keyboard shortcuts

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