From f0dad26a5b8c3139b2519d1895df2fe23352b102 Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Sat, 5 Jun 2021 21:25:39 +0200 Subject: [PATCH] fix(MessageComponentInteraction): correctly type defer method (#5760) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 0a11c2b64..9538a8da9 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1333,7 +1333,7 @@ declare module 'discord.js' { public message: Message | RawMessage; public replied: boolean; public webhook: WebhookClient; - public defer(ephemeral?: boolean): Promise; + public defer(options?: InteractionDeferOptions): Promise; public deferUpdate(): Promise; public deleteReply(): Promise; public editReply(