mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Slight Fix in Math Game
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = class MathGameCommand extends Command {
|
||||
}
|
||||
const value1 = Math.floor(Math.random() * value) + 1;
|
||||
const value2 = Math.floor(Math.random() * value) + 1;
|
||||
const expression = `${value1} ${operation}${value2}`;
|
||||
const expression = `${value1} ${operation} ${value2}`;
|
||||
const solved = math.eval(expression);
|
||||
const embed = new RichEmbed()
|
||||
.setTitle('You have **ten** seconds to answer:')
|
||||
|
||||
Reference in New Issue
Block a user