This commit is contained in:
Dragon Fire
2024-03-19 23:19:41 -04:00
parent 429d7b2e10
commit 989b5d9b4d
-1
View File
@@ -410,7 +410,6 @@ module.exports = class Util {
}
static splitMessage(text, { maxLength = 2000, char = '\n', prepend = '', append = '' } = {}) {
text = Util.verifyString(text);
if (text.length <= maxLength) return [text];
let splitText = [text];
if (Array.isArray(char)) {