diff --git a/typings/index.d.ts b/typings/index.d.ts index 3830032f3..d744849af 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -578,9 +578,7 @@ declare module 'discord.js' { public editReply(options: string | MessagePayload | WebhookEditMessageOptions): Promise; public fetchReply(): Promise; public followUp(options: string | MessagePayload | InteractionReplyOptions): Promise; - public reply( - options: string | MessagePayload | (InteractionReplyOptions & { fetchReply: true }), - ): Promise; + public reply(options: InteractionReplyOptions & { fetchReply: true }): Promise; public reply(options: string | MessagePayload | InteractionReplyOptions): Promise; private transformOption(option: unknown, resolved: unknown): CommandInteractionOption; private _createOptionsCollection(options: unknown, resolved: unknown): Collection; @@ -1443,13 +1441,9 @@ declare module 'discord.js' { public editReply(options: string | MessagePayload | WebhookEditMessageOptions): Promise; public fetchReply(): Promise; public followUp(options: string | MessagePayload | InteractionReplyOptions): Promise; - public reply( - options: string | MessagePayload | (InteractionReplyOptions & { fetchReply: true }), - ): Promise; + public reply(options: InteractionReplyOptions & { fetchReply: true }): Promise; public reply(options: string | MessagePayload | InteractionReplyOptions): Promise; - public update( - content: string | MessagePayload | (InteractionUpdateOptions & { fetchReply: true }), - ): Promise; + public update(content: InteractionUpdateOptions & { fetchReply: true }): Promise; public update(content: string | MessagePayload | InteractionUpdateOptions): Promise; public static resolveType(type: MessageComponentTypeResolvable): MessageComponentType;