mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Stuff
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = class MathGameCommand extends Command {
|
||||
time: 10000
|
||||
});
|
||||
if (!msgs.size) return msg.say(`Time! It was ${answer}, sorry!`);
|
||||
if (msgs.first().content !== answer) return msg.say(`Nope, sorry, it's ${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