mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
23
This commit is contained in:
@@ -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!');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user