Interface: Command
types/types.Command
Properties
aliases
• Optional
aliases: (string
| string
[])[]
A list of aliases for this command. Check the docs for more info.
Defined in
description
• Optional
description: string
A description for your command that will be shown in the help command.
Defined in
handler
• handler: CommandHandler
The function that will handle any calls to this command (except for any subcommands).
Defined in
hidden
• Optional
hidden: boolean
Whether the command should be hidden from the help Command. NOTE: This is not a way to protect your admin commands!
Default
false
Defined in
subcommands
• Optional
subcommands: CommandMap
A CommandMap with subcommands in it. Check the docs for more info.