From 08cffd6a3036a93d7524336faa1fdb287ccb3833 Mon Sep 17 00:00:00 2001 From: monbrey Date: Sat, 12 Jun 2021 21:10:24 +1000 Subject: [PATCH] types(MessageComponentInteraction): update should return Promise (#5829) --- 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 7266cf4b0..53fd6f814 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1295,7 +1295,7 @@ declare module 'discord.js' { public fetchReply(): Promise; public followUp(options: string | APIMessage | InteractionReplyOptions): Promise; public reply(options: string | APIMessage | InteractionReplyOptions): Promise; - public update(content: string | APIMessage | WebhookEditMessageOptions): Promise; + public update(content: string | APIMessage | WebhookEditMessageOptions): Promise; public static resolveType(type: MessageComponentTypeResolvable): MessageComponentType; }