Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "commands", Usage: "Synchronize slash commands", Action: run, Flags: []cli.Flag{ &cli.StringFlag{ Name: "token", Usage: "The bot's token", EnvVars: []string{"TOKEN"}, Required: true, }, &cli.Uint64Flag{ Name: "app-id", Usage: "The bot's application ID", EnvVars: []string{"APP_ID"}, Required: true, }, &cli.BoolFlag{ Name: "global", Usage: "Synchronize slash commands globally (mutually exclusive with --guild)", }, &cli.Uint64Flag{ Name: "guild", Usage: "Synchronize slash commands to a specific guild", }, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.