mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Make Code Prettier
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class MathCommand extends Command {
|
||||
const solved = math.eval(expression);
|
||||
return msg.say(solved)
|
||||
.catch(() => msg.say('Invalid statement.'));
|
||||
} catch (err) {
|
||||
} catch(err) {
|
||||
return msg.say('Invalid statement.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user