mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Stop console.error for translate fails
This commit is contained in:
@@ -160,7 +160,6 @@ 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!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "21.0.1",
|
"version": "21.0.2",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user