Skip to content

Commit

Permalink
fix(Typings): erronous RawMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Jun 29, 2021
1 parent 5e28ff8 commit 5842e35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions typings/index.d.ts
Expand Up @@ -558,7 +558,7 @@ declare module 'discord.js' {
public options: Collection<string, CommandInteractionOption>;
public replied: boolean;
public webhook: InteractionWebhook;
public defer(options?: InteractionDeferOptions & { fetchReply: true }): Promise<Message | RawMessage>;
public defer(options?: InteractionDeferOptions & { fetchReply: true }): Promise<Message | APIMessage>;
public defer(options?: InteractionDeferOptions): Promise<void>;
public deleteReply(): Promise<void>;
public editReply(options: string | MessagePayload | WebhookEditMessageOptions): Promise<Message | APIMessage>;
Expand Down Expand Up @@ -1420,9 +1420,9 @@ declare module 'discord.js' {
public message: Message | APIMessage;
public replied: boolean;
public webhook: InteractionWebhook;
public defer(options?: InteractionDeferOptions & { fetchReply: true }): Promise<Message | RawMessage>;
public defer(options?: InteractionDeferOptions & { fetchReply: true }): Promise<Message | APIMessage>;
public defer(options?: InteractionDeferOptions): Promise<void>;
public deferUpdate(options?: InteractionDeferUpdateOptions & { fetchReply: true }): Promise<Message | RawMessage>;
public deferUpdate(options?: InteractionDeferUpdateOptions & { fetchReply: true }): Promise<Message | APIMessage>;
public deferUpdate(options?: InteractionDeferUpdateOptions): Promise<void>;
public deleteReply(): Promise<void>;
public editReply(options: string | MessagePayload | WebhookEditMessageOptions): Promise<Message | APIMessage>;
Expand Down

0 comments on commit 5842e35

Please sign in to comment.