From c31a5cfcc82706667768eac77b5f99ba69cf3c91 Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Tue, 16 Aug 2022 16:38:30 +0100 Subject: [PATCH] types(ModalMessageModalSubmitInteraction): channelId is not nullable (#8496) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index f96b1a812..a816c138d 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -1970,6 +1970,7 @@ export class ModalSubmitFields { export interface ModalMessageModalSubmitInteraction extends ModalSubmitInteraction { message: Message>; + channelId: Snowflake; update(options: InteractionUpdateOptions & { fetchReply: true }): Promise; update( options: string | MessagePayload | InteractionUpdateOptions,