From 56d44fbf1c922260c497350e8829d7151eb7a331 Mon Sep 17 00:00:00 2001 From: Shubham Parihar Date: Sat, 22 May 2021 13:28:06 +0530 Subject: [PATCH] fix(CommandInteraction): update typings and docs for #editReply (#5630) --- src/structures/CommandInteraction.js | 2 +- typings/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/CommandInteraction.js b/src/structures/CommandInteraction.js index 22851239e642..f2b9cd423d7e 100644 --- a/src/structures/CommandInteraction.js +++ b/src/structures/CommandInteraction.js @@ -146,7 +146,7 @@ class CommandInteraction extends Interaction { /** * Edits the initial reply to this interaction. * @see Webhook#editMessage - * @param {string|APIMessage|MessageEmbed|MessageEmbed[]} content The new content for the message + * @param {string|APIMessage|MessageAdditions} content The new content for the message * @param {WebhookEditMessageOptions} [options] The options to provide * @returns {Promise} * @example diff --git a/typings/index.d.ts b/typings/index.d.ts index 01323f494386..841b5a668453 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -421,7 +421,7 @@ declare module 'discord.js' { public defer(ephemeral?: boolean): Promise; public deleteReply(): Promise; public editReply( - content: string | APIMessage | WebhookEditMessageOptions | MessageEmbed | MessageEmbed[], + content: string | APIMessage | WebhookEditMessageOptions | MessageAdditions, ): Promise; public editReply(content: string, options?: WebhookEditMessageOptions): Promise; public fetchReply(): Promise;