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.
Click to show internal directories.
Click to hide internal directories.