This commit is contained in:
Daniel Odendahl Jr
2017-06-17 03:26:31 +00:00
parent 5bb78126a9
commit fd4e35533a
129 changed files with 322 additions and 319 deletions
+1 -2
View File
@@ -37,8 +37,7 @@ module.exports = class TypingGameCommand extends Command {
max: 1,
time
});
if (!msgs.size) return msg.say('Time! Sorry!');
if (msgs.first().content !== sentence) return msg.say('Nope, sorry!');
if (!msgs.size || msgs.first().content !== sentence) return msg.say('Sorry! You lose!');
else return msg.say('Nice job! 10/10! You deserve some cake!');
}
};