More Formatting Woot

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 02:02:42 +00:00
parent 40a4af36c4
commit 3b007758aa
38 changed files with 51 additions and 43 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ module.exports = class MagicBall extends commando.Command {
let question = message.content.split(" ").slice(1).join(" ");
let answers = ['It seems the answer is yes, yes?', 'It seems the answer is no.', 'It is a little doubtful, yes?', 'It seems it is very likely to be true.'];
answers = answers[Math.floor(Math.random() * answers.length)];
if (question === "") {
question = "Not Specified."
if (!question) {
question = "Not Specified.";
}
message.channel.send("Question: " + question + "\n:8ball: " + answers + " :8ball:");
}