Replace all sendMessage calls with send

This commit is contained in:
dragonfire535
2017-03-15 20:59:46 -04:00
parent 7faa8c3190
commit dfc9583d99
87 changed files with 174 additions and 174 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ class CowsayCommand extends commando.Command {
}
console.log("[Command] " + message.content);
if(message.content.split(" ").slice(1).join(" ") === "") {
message.channel.sendMessage(":x: Error! You entered nothing!");
message.channel.send(":x: Error! You entered nothing!");
} else {
let turnToCowsay = message.content.split(" ").slice(1).join(" ");
message.channel.sendCode(null, cowsay.say({
@@ -27,7 +27,7 @@ class CowsayCommand extends commando.Command {
e : "oO",
T : "U "
})).catch(error => {
message.channel.sendMessage(':x: Error! Perhaps the content is too long?');
message.channel.send(':x: Error! Perhaps the content is too long?');
});
}
}