From 1ec929d0611e5b216405b2d4b93772b2e45a5896 Mon Sep 17 00:00:00 2001 From: Purpzie <25022704+Purpzie@users.noreply.github.com> Date: Mon, 4 Nov 2019 04:33:42 -0600 Subject: [PATCH] typings(Util): use StringResolvable (fixes old pull) (#3556) Fixes my extremely old pull #3212 that didn't actually update the typing (Didn't know at the time.) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index cfcd96610c00..199c5b520375 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1447,7 +1447,7 @@ declare module 'discord.js' { route: object, reason?: string ): Promise<{ id: Snowflake; position: number }[]>; - public static splitMessage(text: string, options?: SplitOptions): string[]; + public static splitMessage(text: StringResolvable, options?: SplitOptions): string[]; public static str2ab(str: string): ArrayBuffer; }