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