From 2eafeeca55c5425f93b339a4b2e08a8a21366913 Mon Sep 17 00:00:00 2001 From: monbrey Date: Tue, 17 Nov 2020 08:24:16 +1100 Subject: [PATCH] fix: restore reply typings --- typings/index.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index f8eb52e8..269a8596 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1028,6 +1028,20 @@ declare module 'discord.js' { public fetch(force?: boolean): Promise; public pin(options?: { reason?: string }): Promise; public react(emoji: EmojiIdentifierResolvable): Promise; + public reply( + content: APIMessageContentResolvable | (MessageOptions & { split?: false }) | MessageAdditions, + ): Promise; + public reply(options: MessageOptions & { split: true | SplitOptions }): Promise; + public reply(options: MessageOptions | APIMessage): Promise; + public reply( + content: StringResolvable, + options: (MessageOptions & { split?: false }) | MessageAdditions, + ): Promise; + public reply( + content: StringResolvable, + options: MessageOptions & { split: true | SplitOptions }, + ): Promise; + public reply(content: StringResolvable, options: MessageOptions): Promise; public suppressEmbeds(suppress?: boolean): Promise; public toJSON(): object; public toString(): string;