Bug Fixes

This commit is contained in:
dragonfire535
2017-03-14 11:28:55 -04:00
parent b39a2da259
commit b2574c0a33
2 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class BinaryCommand extends commando.Command {
}
console.log("[Command] " + message.content);
let turnToBinary = message.content.split(" ").slice(1).join(" ");
message.channel.sendMessage(stringToBinary(turnToBinary)).catch(error => message.channel.sendMessage(':x: Error! Translation is too long!'));
message.channel.sendMessage(stringToBinary(turnToBinary)).catch(error => message.channel.sendMessage(':x: Error! Translation is too long, or nothing was entered!'));
}
}