diff --git a/src/util/Util.js b/src/util/Util.js index 8e6743d9f..f0079a2ac 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -56,7 +56,7 @@ class Util { * @returns {string[]} */ static splitMessage(text, { maxLength = 2000, char = '\n', prepend = '', append = '' } = {}) { - text = this.resolveString(text); + text = Util.resolveString(text); if (text.length <= maxLength) return [text]; const splitText = text.split(char); if (splitText.some(chunk => chunk.length > maxLength)) throw new RangeError('SPLIT_MAX_LEN');