CommandInteraction
CommandInteraction ⇐ ApplicationCommandInteraction
Section titled “CommandInteraction ⇐ ApplicationCommandInteraction”Kind: global class
Extends: ApplicationCommandInteraction
new CommandInteraction([data], guildId, client)
Section titled “new CommandInteraction([data], guildId, client)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data for the command interaction. |
| guildId | string | The ID of the guild where the interaction occurred. |
| client | Client | The client that received the interaction. |