From a6d9ce57c6cae90d0afc60010cad44fdc2c2d06c Mon Sep 17 00:00:00 2001 From: Almeida Date: Tue, 19 Apr 2022 14:56:22 +0100 Subject: [PATCH] types(CommandInteraction): add awaitModalSubmit (#7811) --- packages/discord.js/typings/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 1e5be9696..405e74630 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -440,6 +440,9 @@ export abstract class CommandInteraction e public showModal( modal: JSONEncodable | ModalData | APIModalInteractionResponseCallbackData, ): Promise; + public awaitModalSubmit( + options: AwaitModalSubmitOptions, + ): Promise>; private transformOption( option: APIApplicationCommandOption, resolved: APIApplicationCommandInteractionData['resolved'],