Error handling in translate command

This commit is contained in:
dragonfire535
2017-03-03 17:24:58 -05:00
parent c93ab34e89
commit a5e6c57f95
+1 -1
View File
@@ -41,7 +41,7 @@ class TranslateCommand extends commando.Command {
res.text);
message.channel.sendEmbed(embed).catch(console.error);
}).catch(err => {
console.error(err);
message.channel.sendMessage(":x: Error!");
});
}
} else {