diff --git a/typings/index.d.ts b/typings/index.d.ts index d327273b7ccf..b53cb19d9124 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1915,7 +1915,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>; @@ -1931,6 +1931,7 @@ export class ModalSubmitInteraction extend public components: PartialModalActionRow[]; public deferred: boolean; public ephemeral: boolean | null; + public message: GuildCacheMessage | null; public fields: ModalSubmitFieldsResolver; public replied: false; public webhook: InteractionWebhook;