tibbycmds

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Commands []commands.Command
)
View Source
var RootCommand = discordgo.ApplicationCommand{
	Name:        customs.RootCommand,
	Description: fmt.Sprintf("General commands for %s", customs.BotName),
	Options: []*discordgo.ApplicationCommandOption{
		{
			Name:        "docs",
			Description: fmt.Sprintf("Get the %s docs", customs.BotName),
			Type:        discordgo.ApplicationCommandOptionSubCommand,
		},
		{
			Name:        "info",
			Description: fmt.Sprintf("Get the %s runtime information", customs.BotName),
			Type:        discordgo.ApplicationCommandOptionSubCommand,
		},
	},
}

Functions

func RegisterAppStart added in v0.3.2

func RegisterAppStart()

func RootCommandHandler added in v0.4.0

func RootCommandHandler(s *discordgo.Session, i *discordgo.InteractionCreate)

Types

This section is empty.

Jump to

Keyboard shortcuts

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