ChatCommand constructor
a manager that this command belongs to
ChatCommandInit object containing all options needed to create a ChatCommand
Subcommands and groups of this command
List of different names that can be used to invoke a command (when using prefix interactions)
Whether a SUCCESS message should be sent after executing the command function (when there is no other reply)
Discord API default_permission
Command description displayed in the help message or in slash commands menu (Default description: "No description")
If set to false, all interactions that get invoked from private/direct conversations (outside a guild) will result a PermissionError
Whether a reply should be visible only to the caller
List of Discord guild (server) IDs in which this command can be used
Manager in which this command is registered
Command name
List of parameters that can passed to this command
Object containing check functions and permission bitfields
Whether this command should be registered as a slash command (default: true)
CommandBot's internal command type
Command usage displayed in the help message
Whether this command is visible in the help message (default: true)
Returns list of attached subcommands
Returns true if the command has subcommands attached
Attaches subcommand or subcommand group to this ChatCommand
subcommand type
initialization options
A computed subcommand object
parameter options
Discord interaction
an InputManager containing all interaction-related data or null
subcommand name
a SubCommand object or null
Check base command type
base command type
Whether this command can be used as the given type
Check child command type
child command type
Whether this command can be used as a child command of the given type
Checks command type
command type
Whether this command can be used as the given type
Invoke the command
input data manager
Converts ChatCommand instance to object that is recognized by the Discord API
Discord API object
Generated using TypeDoc
A representation of CHAT_INPUT command (also known as a slash command)