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,9 +19,9 @@ class SayCommand extends commando.Command {
console.log("[Command] " + message.content);
let Copycat = message.content.split(" ").slice(1).join(" ");
if(Copycat === "") {
message.channel.sendMessage(":x: Error! Nothing to say!");
message.channel.send(":x: Error! Nothing to say!");
} else {
message.channel.sendMessage(Copycat);
message.channel.send(Copycat);
if (message.channel.type === 'dm') return;
message.delete();
}