mirror of
https://github.com/danbulant/discord.js
synced 2026-06-05 15:51:31 +00:00
Fix #837
This commit is contained in:
parent
ff16c9f01f
commit
add52ce62d
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ class Message {
|
||||||
content = `${prepend}${content}`;
|
content = `${prepend}${content}`;
|
||||||
|
|
||||||
if (options.split) {
|
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;
|
if (!options.split.prepend) options.split.prepend = prepend;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue