From 3ab830d0ffc83d1073653bea1f605f13d3e6a842 Mon Sep 17 00:00:00 2001 From: Shubham Parihar Date: Fri, 14 May 2021 15:26:12 +0530 Subject: [PATCH] fix(CommandInteraction): update typings and docs for #editReply --- 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 2cdd9179785a..ab74e35492f7 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 6efebd1993f6..2fb57318a651 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;