mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Replace all sendMessage calls with send
This commit is contained in:
@@ -21,7 +21,7 @@ class EmbedCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let embedmessage = message.content.split(" ").slice(1).join(" ");
|
||||
if(embedmessage === "") {
|
||||
message.channel.sendMessage(":x: Error! Nothing to embed!");
|
||||
message.channel.send(":x: Error! Nothing to embed!");
|
||||
} else {
|
||||
const embed = new Discord.RichEmbed()
|
||||
.setAuthor(message.author.username, message.author.avatarURL)
|
||||
|
||||
Reference in New Issue
Block a user