Skip to content

Commit

Permalink
fix(CommandInteraction): update typings and docs for #editReply (#5630)
Browse files Browse the repository at this point in the history
  • Loading branch information
iShibi committed May 22, 2021
1 parent 38bf24a commit 56d44fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/structures/CommandInteraction.js
Expand Up @@ -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<Message|Object>}
* @example
Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -421,7 +421,7 @@ declare module 'discord.js' {
public defer(ephemeral?: boolean): Promise<void>;
public deleteReply(): Promise<void>;
public editReply(
content: string | APIMessage | WebhookEditMessageOptions | MessageEmbed | MessageEmbed[],
content: string | APIMessage | WebhookEditMessageOptions | MessageAdditions,
): Promise<Message | RawMessage>;
public editReply(content: string, options?: WebhookEditMessageOptions): Promise<Message | RawMessage>;
public fetchReply(): Promise<Message | RawMessage>;
Expand Down

0 comments on commit 56d44fb

Please sign in to comment.