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