Make Code Prettier

This commit is contained in:
Daniel Odendahl Jr
2017-05-04 02:40:56 +00:00
parent e5f93b63cb
commit cf87f126d6
71 changed files with 354 additions and 343 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.');
}
}