No summary provided.
Extends
ModalSubmitInteraction<Cached>The application's id
Inherited from BaseInteractionSet of permissions the application or bot has within the channel the interaction was sent from
Inherited from BaseInteractionMapping of installation contexts that the interaction was authorized for the related user or guild ids
Inherited from BaseInteractionReadonly
channel:CacheTypeReducer<Cached, GuildTextBasedChannel | null, GuildTextBasedChannel | null, GuildTextBasedChannel | null, TextBasedChannel | null>
The channel this interaction was sent in
Inherited from BaseInteractionThe components within the modal
Inherited from ModalSubmitInteractionContext where the interaction was triggered from
Inherited from BaseInteractionThe time the interaction was created at
Inherited from BaseInteractionThe timestamp the interaction was created at
Inherited from BaseInteractionThe custom id of the modal.
Inherited from ModalSubmitInteractionWhether the reply to this interaction has been deferred
Inherited from ModalSubmitInteractionThe entitlements for the invoking user, representing access to premium SKUs
Inherited from BaseInteractionWhether the reply to this interaction is ephemeral
Inherited from ModalSubmitInteractionThe fields within the modal
Inherited from ModalSubmitInteractionThe guild this interaction was sent in
Inherited from BaseInteractionThe id of the guild this interaction was sent in
Inherited from BaseInteractionThe preferred locale from the guild this interaction was sent in
Inherited from BaseInteractionThe interaction's id
Inherited from BaseInteractionThe locale of the user who invoked this interaction
Inherited from BaseInteractionIf this interaction was sent in a guild, the member which sent it
Inherited from BaseInteractionThe permissions of the member, if one exists, in the channel this interaction was executed in
Inherited from BaseInteractionWhether this interaction has already been replied to
Inherited from ModalSubmitInteractionThe interaction's token
Inherited from BaseInteractionThe interaction's type
Inherited from ModalSubmitInteractionThe user who created this interaction
Inherited from BaseInteractionThe version
Inherited from BaseInteractionAn associated interaction webhook, can be used to further interact with this interaction
Inherited from ModalSubmitInteractionDefers the reply to this interaction.
Example
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionDeferReplyOptions & { fetchReply: true } | No | Options for deferring the reply to this interaction |
Defers an update to the message to which the component was attached.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionDeferUpdateOptions & { fetchReply: true } | No | Options for deferring the update to this interaction |
Deletes a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
message | MessageResolvable | '@original' | Yes | The response to delete |
Edits a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | InteractionEditReplyOptions | No | The new options for the message |
Fetches a reply to this interaction.
Example
Name | Type | Optional | Description |
---|---|---|---|
message | Snowflake | '@original' | Yes | The response to fetch |
Send a follow-up message to this interaction.
Name | Type | Optional | Description |
---|---|---|---|
options | string | MessagePayload | InteractionReplyOptions | No | The options for the reply |
Indicates whether this interaction is a select menu of any known type.
Inherited from BaseInteractionIndicates whether this interaction is an AutocompleteInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ButtonInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a ChannelSelectMenuInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ChatInputCommandInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a CommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ContextMenuCommandInteraction
Inherited from BaseInteractionWhether this is from a MessageComponentInteraction.
Inherited from ModalSubmitInteractionIndicates whether this interaction is a MentionableSelectMenuInteraction
Inherited from BaseInteractionIndicates whether this interaction is a MessageComponentInteraction
Inherited from BaseInteractionIndicates whether this interaction is a MessageContextMenuCommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a ModalSubmitInteraction
Inherited from BaseInteractionIndicates whether this interaction can be replied to.
Inherited from BaseInteractionIndicates whether this interaction is a RoleSelectMenuInteraction
Inherited from BaseInteractionIndicates whether this interaction is a StringSelectMenuInteraction.
Inherited from BaseInteractionIndicates whether this interaction is a UserContextMenuCommandInteraction
Inherited from BaseInteractionIndicates whether this interaction is a UserSelectMenuInteraction
Inherited from BaseInteractionCreates a reply to this interaction. Use the
fetchReply
option to get the bot's reply message.Example
Example
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionReplyOptions & { fetchReply: true } | No | The options for the reply |
Transforms component data to discord.js-compatible data
Name | Type | Optional | Description |
---|---|---|---|
rawComponent | any | No | The data to transform |
Name | Type | Optional | Description |
---|---|---|---|
options | InteractionUpdateOptions & { fetchReply: true } | No | None |