mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Replace all sendMessage calls with send
This commit is contained in:
@@ -41,7 +41,7 @@ class DefineCommand extends commando.Command {
|
||||
.setDescription(response[0].text);
|
||||
message.channel.sendEmbed(embed).catch(console.error);
|
||||
}).catch(function (err) {
|
||||
message.channel.sendMessage(":x: Error! Word not Found!");
|
||||
message.channel.send(":x: Error! Word not Found!");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user