mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Fix #837
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user