Skip to content

SlashSubCommand

SlashSubCommand ⇐ Base

Represents a sub-command for a slash command.

Kind: global class
Extends: Base
Properties

NameTypeDescription
typestringThe type of the sub-command.
namestring | undefinedThe name of the sub-command.
descriptionstring | undefinedThe description of the sub-command.
optionsRaidenColThe options for the sub-command.

new SlashSubCommand([data], client)

Constructs a new Sub_Command object.

ParamTypeDescription
[data]ObjectThe data for the sub-command.
clientClientThe client object.