From f675d2dd5868b78b938524ea8271d2b18f676ded Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Wed, 17 Aug 2022 17:46:24 +0700 Subject: [PATCH] types(ModalMessageModalSubmitInteraction): channelId is not nullable (v13) #8505 --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 7f21125..e7a9837 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2251,6 +2251,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>;