From add52ce62d24a03e127b5c2deee5812fd9b0ad0d Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Tue, 25 Oct 2016 22:03:04 +0100 Subject: [PATCH] Fix #837 --- src/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Message.js b/src/structures/Message.js index 6b0ae77c3..0fbb88722 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -396,7 +396,7 @@ class Message { content = `${prepend}${content}`; if (options.split) { - if (typeof options.split !== 'object') options.split = {}; + if (typeof options.split !== 'object' && typeof options.split !== 'boolean') options.split = {}; if (!options.split.prepend) options.split.prepend = prepend; }