mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 08:22:37 +02:00
Change in the way Requests work
This commit is contained in:
@@ -34,7 +34,6 @@ module.exports = class YodaCommand extends commando.Command {
|
||||
.query({
|
||||
sentence: turnToYoda
|
||||
});
|
||||
if (!response.text) return message.say(':x: Error! Something went wrong! Keep it simple to avoid this error.');
|
||||
return message.say(response.text);
|
||||
}
|
||||
catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user