Minor changes

This commit is contained in:
Daniel Odendahl Jr
2017-10-19 18:50:39 +00:00
parent c056ca47e3
commit 571f81ff0c
9 changed files with 10 additions and 88 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = class MathGameCommand extends Command {
max: 1,
time: 10000
});
if (!msgs.size) return msg.say(`Time! It was ${answer}, sorry!`);
if (!msgs.size) return msg.say(`Sorry, time is up! It was ${answer}.`);
if (msgs.first().content !== answer.toString()) return msg.say(`Nope, sorry, it's ${answer}.`);
return msg.say('Nice job! 10/10! You deserve some cake!');
}