Fix for Romaji split in advance

This commit is contained in:
dragonfire535
2017-03-03 18:43:51 -05:00
parent 92872bdb18
commit 0264350513
+1 -1
View File
@@ -21,7 +21,7 @@ class RomajiCommand extends commando.Command {
let romajify = message.content.split(" ").slice(1).join(" ");
if(hepburn.containsKana(romajify)) {
let romajified = hepburn.fromKana(romajify);
message.channel.sendMessage(romajified, {split:{maxLength:1900}});
message.channel.sendMessage(romajified, {split:true});
} else {
message.channel.sendMessage(":x: Error! Message contains no Kana!\n:notepad_spiral: Note: You cannot use this command on Kanji!");
}