ModalMessageModalSubmitInteraction

export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
extends ModalSubmitInteraction<Cached>
export interface ModalMessageModalSubmitInteraction<Cached extends CacheType = CacheType>
extends ModalSubmitInteraction<Cached>

No summary provided.

Extends

ModalSubmitInteraction<Cached>
NameConstraintsOptionalDefaultDescription
CachedCacheTypeYesCacheTypeNone
applicationId:Snowflake
The application's id
Inherited from BaseInteraction
appPermissions:CacheTypeReducer<Cached, Readonly<PermissionsBitField>>
Set of permissions the application or bot has within the channel the interaction was sent from
Inherited from BaseInteraction
The channel this interaction was sent in
Inherited from BaseInteraction
channelId:Snowflake
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
Readonly
components:ActionRowModalData[]
The components within the modal
Inherited from ModalSubmitInteraction
Readonly
createdAt:Date
The time the interaction was created at
Inherited from BaseInteraction
Readonly
createdTimestamp:number
The timestamp the interaction was created at
Inherited from BaseInteraction
Readonly
customId:string
The custom id of the modal.
Inherited from ModalSubmitInteraction
deferred:boolean
Whether the reply to this interaction has been deferred
Inherited from ModalSubmitInteraction
ephemeral:boolean | null
Whether the reply to this interaction is ephemeral
Inherited from ModalSubmitInteraction
Readonly
The fields within the modal
Inherited from ModalSubmitInteraction
Readonly
guild:CacheTypeReducer<Cached, Guild, null>
The guild this interaction was sent in
Inherited from BaseInteraction
guildId:CacheTypeReducer<Cached, Snowflake>
The id of the guild this interaction was sent in
Inherited from BaseInteraction
guildLocale:CacheTypeReducer<Cached, Locale>
The preferred locale from the guild this interaction was sent in
Inherited from BaseInteraction
The interaction's id
Inherited from BaseInteraction
locale:Locale
The locale of the user who invoked this interaction
Inherited from BaseInteraction
If this interaction was sent in a guild, the member which sent it
Inherited from BaseInteraction
memberPermissions:CacheTypeReducer<Cached, Readonly<PermissionsBitField>>
The permissions of the member, if one exists, in the channel this interaction was executed in
Inherited from BaseInteraction
message:Message<BooleanCache<Cached>>
replied:boolean
Whether this interaction has already been replied to
Inherited from ModalSubmitInteraction
Readonly
token:string
The interaction's token
Inherited from BaseInteraction
The interaction's type
Inherited from ModalSubmitInteraction
user:User
The user who created this interaction
Inherited from BaseInteraction
version:number
The version
Inherited from BaseInteraction
Readonly
An associated interaction webhook, can be used to further interact with this interaction
Inherited from ModalSubmitInteraction
deferReply(options):Promise<Message<BooleanCache<Cached>>>
Defers the reply to this interaction.
NameTypeOptionalDescription
optionsInteractionDeferReplyOptions & { fetchReply: true }NoOptions for deferring the reply to this interaction
deferUpdate(options):Promise<Message<BooleanCache<Cached>>>
Defers an update to the message to which the component was attached.
NameTypeOptionalDescription
optionsInteractionDeferUpdateOptions & { fetchReply: true }NoOptions for deferring the update to this interaction
deleteReply(message?):Promise<void>
Deletes a reply to this interaction.
NameTypeOptionalDescription
messageMessageResolvable | '@original'YesThe response to delete
Inherited from ModalSubmitInteraction
editReply(options):Promise<Message<BooleanCache<Cached>>>
Edits a reply to this interaction.
NameTypeOptionalDescription
optionsstring | MessagePayload | InteractionEditReplyOptionsNoThe new options for the message
Inherited from ModalSubmitInteraction
fetchReply(message?):Promise<Message<BooleanCache<Cached>>>
Fetches a reply to this interaction.
NameTypeOptionalDescription
messageSnowflake | '@original'YesThe response to fetch
Inherited from ModalSubmitInteraction
followUp(options):Promise<Message<BooleanCache<Cached>>>
Send a follow-up message to this interaction.
NameTypeOptionalDescription
optionsstring | MessagePayload | InteractionReplyOptionsNoThe options for the reply
Inherited from ModalSubmitInteraction
inCachedGuild():this is ModalMessageModalSubmitInteraction<'cached'>
inGuild():this is ModalMessageModalSubmitInteraction<'raw' | 'cached'>
inRawGuild():this is ModalMessageModalSubmitInteraction<'raw'>
isAnySelectMenu():this is AnySelectMenuInteraction<Cached>
Indicates whether this interaction is a select menu of any known type.
Inherited from BaseInteraction
isAutocomplete():this is AutocompleteInteraction<Cached>
Indicates whether this interaction is an AutocompleteInteraction
Inherited from BaseInteraction
isButton():this is ButtonInteraction<Cached>
Indicates whether this interaction is a ButtonInteraction.
Inherited from BaseInteraction
isChannelSelectMenu():this is ChannelSelectMenuInteraction<Cached>
Indicates whether this interaction is a ChannelSelectMenuInteraction
Inherited from BaseInteraction
isChatInputCommand():this is ChatInputCommandInteraction<Cached>
Indicates whether this interaction is a ChatInputCommandInteraction.
Inherited from BaseInteraction
isCommand():this is CommandInteraction<Cached>
Indicates whether this interaction is a CommandInteraction
Inherited from BaseInteraction
isContextMenuCommand():this is ContextMenuCommandInteraction<Cached>
Indicates whether this interaction is a ContextMenuCommandInteraction
Inherited from BaseInteraction
isFromMessage():this is ModalMessageModalSubmitInteraction<Cached>
Whether this is from a MessageComponentInteraction.
Inherited from ModalSubmitInteraction
isMentionableSelectMenu():this is MentionableSelectMenuInteraction<Cached>
Indicates whether this interaction is a MentionableSelectMenuInteraction
Inherited from BaseInteraction
isMessageComponent():this is MessageComponentInteraction<Cached>
Indicates whether this interaction is a MessageComponentInteraction
Inherited from BaseInteraction
isMessageContextMenuCommand():this is MessageContextMenuCommandInteraction<Cached>
Indicates whether this interaction is a MessageContextMenuCommandInteraction
Inherited from BaseInteraction
isModalSubmit():this is ModalSubmitInteraction<Cached>
Indicates whether this interaction is a ModalSubmitInteraction
Inherited from BaseInteraction
isRepliable():this is RepliableInteraction<Cached>
Indicates whether this interaction can be replied to.
Inherited from BaseInteraction
isRoleSelectMenu():this is RoleSelectMenuInteraction<Cached>
Indicates whether this interaction is a RoleSelectMenuInteraction
Inherited from BaseInteraction
Deprecated
isSelectMenu():this is StringSelectMenuInteraction<Cached>
Use isStringSelectMenu instead.
Deprecated
Indicates whether this interaction is a StringSelectMenuInteraction.
Inherited from BaseInteraction
isStringSelectMenu():this is StringSelectMenuInteraction<Cached>
Indicates whether this interaction is a StringSelectMenuInteraction.
Inherited from BaseInteraction
isUserContextMenuCommand():this is UserContextMenuCommandInteraction<Cached>
Indicates whether this interaction is a UserContextMenuCommandInteraction
Inherited from BaseInteraction
isUserSelectMenu():this is UserSelectMenuInteraction<Cached>
Indicates whether this interaction is a UserSelectMenuInteraction
Inherited from BaseInteraction
reply(options):Promise<Message<BooleanCache<Cached>>>
Creates a reply to this interaction. Use the fetchReply option to get the bot's reply message.
NameTypeOptionalDescription
optionsInteractionReplyOptions & { fetchReply: true }NoThe options for the reply
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone
Inherited from Base
update(options):Promise<Message>
NameTypeOptionalDescription
optionsInteractionUpdateOptions & { fetchReply: true }NoNone
valueOf():string