Wow I'm dumb

This commit is contained in:
Dragon Fire
2019-12-09 12:52:58 -05:00
parent 3665637705
commit 48d0bdaf61
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = class MathCommand extends Command {
run(msg, { expression }) {
try {
const evaluated = math.evalulate(expression).toString();
const evaluated = math.evaluate(expression).toString();
return msg.reply(evaluated).catch(() => msg.reply('Invalid expression.'));
} catch (err) {
return msg.reply('Invalid expression.');