Error Catching

This commit is contained in:
Daniel Odendahl Jr
2017-04-08 02:46:23 +00:00
parent 71bbea4721
commit 405f8cd618
+1
View File
@@ -160,6 +160,7 @@ module.exports = class TranslateCommand extends commando.Command {
return message.embed(embed);
}
catch (err) {
console.error(err);
return message.say(':x: Error! Something went wrong!');
}
}