Skip to content

CommandInteraction

CommandInteraction ⇐ ApplicationCommandInteraction

Kind: global class
Extends: ApplicationCommandInteraction

new CommandInteraction([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data for the command interaction.
guildIdstringThe ID of the guild where the interaction occurred.
clientClientThe client that received the interaction.