mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 14:19:56 +02:00
Error Catching
This commit is contained in:
@@ -160,6 +160,7 @@ module.exports = class TranslateCommand extends commando.Command {
|
|||||||
return message.embed(embed);
|
return message.embed(embed);
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
console.error(err);
|
||||||
return message.say(':x: Error! Something went wrong!');
|
return message.say(':x: Error! Something went wrong!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user