Minor Code Improvements

This commit is contained in:
Daniel Odendahl Jr
2017-05-03 01:03:59 +00:00
parent b18241f7bc
commit 74fa836044
16 changed files with 96 additions and 29 deletions
+4 -1
View File
@@ -21,6 +21,9 @@ module.exports = class MagicBallCommand extends Command {
run(msg, args) {
const { question } = args;
const answer = answers[Math.floor(Math.random() * answers.length)];
return msg.say(`Question: ${question}\n:8ball: ${answer} :8ball:`);
return msg.say(
`Question: ${question}
:8ball: ${answer} :8ball:`
);
}
};