mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 08:19:08 +02:00
Remove all useless async
This commit is contained in:
@@ -40,10 +40,10 @@ module.exports = class DefineCommand extends commando.Command {
|
||||
.setColor(0x9797FF)
|
||||
.setTitle(response.body[0].word)
|
||||
.setDescription(response.body[0].text);
|
||||
message.channel.sendEmbed(embed);
|
||||
return message.channel.sendEmbed(embed);
|
||||
}
|
||||
catch (err) {
|
||||
message.channel.send(":x: Error! Word not Found!");
|
||||
return message.channel.send(":x: Error! Word not Found!");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user