SlashSubCommand
SlashSubCommand ⇐ Base
Section titled “SlashSubCommand ⇐ Base”Represents a sub-command for a slash command.
Kind: global class
Extends: Base
Properties
| Name | Type | Description |
|---|---|---|
| type | string | The type of the sub-command. |
| name | string | undefined | The name of the sub-command. |
| description | string | undefined | The description of the sub-command. |
| options | RaidenCol | The options for the sub-command. |
new SlashSubCommand([data], client)
Section titled “new SlashSubCommand([data], client)”Constructs a new Sub_Command object.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data for the sub-command. |
| client | Client | The client object. |