Space after conditionals

This commit is contained in:
Daniel Odendahl Jr
2017-05-08 13:46:36 +00:00
parent 7e20086b2a
commit 8ba552b21a
78 changed files with 313 additions and 379 deletions
+1 -1
View File
@@ -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.');
}
}