From 526ea74e666556ffa13bde9130bd91388bf7a2a8 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 17 Aug 2022 08:47:31 +0100 Subject: [PATCH] types(ModalMessageModalSubmitInteraction): channelId is not nullable (v13) (#8505) Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com> --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 9f6bf8cdd..f037d607f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1934,6 +1934,7 @@ export class ModalSubmitFieldsResolver { export interface ModalMessageModalSubmitInteraction extends ModalSubmitInteraction { message: GuildCacheMessage; + channelId: Snowflake; update(options: InteractionUpdateOptions & { fetchReply: true }): Promise>; update(options: string | MessagePayload | InteractionUpdateOptions): Promise; deferUpdate(options: InteractionDeferUpdateOptions & { fetchReply: true }): Promise>;