From 3298ea186992d1574b5595b93d97e0e957851b97 Mon Sep 17 00:00:00 2001 From: Andrew Lehman Date: Sun, 23 Sep 2018 15:35:56 -0400 Subject: [PATCH] docs: correct default value for SplitOptions.maxLength in Util#splitMessage (#2847) --- src/structures/interfaces/TextBasedChannel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/interfaces/TextBasedChannel.js b/src/structures/interfaces/TextBasedChannel.js index 7f9553f1e..f9c668de3 100644 --- a/src/structures/interfaces/TextBasedChannel.js +++ b/src/structures/interfaces/TextBasedChannel.js @@ -73,7 +73,7 @@ class TextBasedChannel { /** * Options for splitting a message. * @typedef {Object} SplitOptions - * @property {number} [maxLength=1950] Maximum character length per message piece + * @property {number} [maxLength=2000] Maximum character length per message piece * @property {string} [char='\n'] Character to split the message with * @property {string} [prepend=''] Text to prepend to every piece except the first * @property {string} [append=''] Text to append to every piece except the last