Optional
appThe permissions the bot has in the channel this interaction was sent from.
The application this interaction is for. This can be a partial object with only an id
property.
The channel this interaction was sent from.
The data associated with the interaction.
Optional
guildThe guild this interaction was sent from, if applicable.
Optional
guildIDThe id of the guild this interaction was sent from, if applicable.
Optional
guildThe preferred locale of the guild this interaction was sent from, if applicable.
The locale of the invoking user.
Optional
memberThe member associated with the invoking user.
Optional
memberThe permissions of the member associated with the invoking user
The token of this interaction.
The type of this interaction.
The user that invoked this interaction.
Read-only property, always 1
Defer this reaction. This is an initial response, and more than one initial response cannot be used.
Optional
flags: numberThe flags to respond with.
Acknowledge this interaction with a set of choices. This is an initial response, and more than one initial response cannot be used.
The choices to send.
Static
fromStatic
getStatic
get
A base class which most other classes extend.