mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Error Catching
This commit is contained in:
@@ -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!');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user