mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +02:00
Define Fix?
This commit is contained in:
@@ -40,7 +40,7 @@ module.exports = class DefineCommand extends commando.Command {
|
||||
.setColor(0x9797FF)
|
||||
.setTitle(response.body[0].word)
|
||||
.setDescription(response.body[0].text);
|
||||
message.channel.sendEmbed(embed).catch(console.error);
|
||||
message.channel.sendEmbed(embed);
|
||||
}
|
||||
catch (err) {
|
||||
message.channel.send(":x: Error! Word not Found!");
|
||||
|
||||
Reference in New Issue
Block a user