diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 51db4d3af..7149b216c 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1862,7 +1862,7 @@ export class ModalSubmitFieldsResolver { export interface ModalMessageModalSubmitInteraction extends ModalSubmitInteraction { - message: GuildCacheMessage | null; + message: GuildCacheMessage; update(options: InteractionUpdateOptions & { fetchReply: true }): Promise>; update(options: string | MessagePayload | InteractionUpdateOptions): Promise; deferUpdate(options: InteractionDeferUpdateOptions & { fetchReply: true }): Promise>; @@ -1879,6 +1879,7 @@ export class ModalSubmitInteraction extend public readonly fields: ModalSubmitFieldsResolver; public deferred: boolean; public ephemeral: boolean | null; + public message: GuildCacheMessage | null; public replied: boolean; public readonly webhook: InteractionWebhook; public reply(options: InteractionReplyOptions & { fetchReply: true }): Promise>;