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
Create a followup message.
The options for creating the followup message.
Create a message through this interaction. This is an initial response, and more than one initial response cannot be used. Use createFollowup
.
The options for the message.
Defer this interaction. This is an initial response, and more than one initial response cannot be used.
Optional
flags: numberThe flags to respond with.
Defer this interaction with a DEFERRED_UPDATE_MESAGE
response.. This is an initial response, and more than one initial response cannot be used.
Optional
flags: numberThe flags to respond with.
Edit a followup message.
The ID of the message.
The options for editing the followup message.
Edit the original interaction response.
The options for editing the original message.
Edit the message this interaction is from. If this interaction has already been acknowledged, use createFollowup
.
The options for editing the message.
Get a followup message.
The ID of the message.
Get the original interaction response.
Static
fromStatic
getStatic
get
A base class which most other classes extend.