mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
revert console.error
This commit is contained in:
@@ -162,7 +162,6 @@ module.exports = class TranslateCommand extends commando.Command {
|
||||
return message.embed(embed);
|
||||
}
|
||||
catch (err) {
|
||||
console.error(err);
|
||||
return message.say(':x: Error! Something went wrong!');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,6 @@ module.exports = class YodaCommand extends commando.Command {
|
||||
return message.say(response.text);
|
||||
}
|
||||
catch (err) {
|
||||
console.error(err);
|
||||
return message.say(':x: Error! Something went wrong!');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user