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
+3 -3
View File
@@ -20,10 +20,10 @@ class ContactCommand extends commando.Command {
console.log("[Command] " + message.content);
let banid = message.author.id;
if (message.author.id === banlist.banned[banid]) {
message.channel.sendMessage("Sorry, you've been banned from using this command.");
message.channel.send("Sorry, you've been banned from using this command.");
} else {
this.client.users.get('242699360352206850').sendMessage("**" + message.author.username + '#' + message.author.discriminator + " (" + message.author.id + ")" + ":**\n" + message.content.split(" ").slice(1).join(" "));
message.channel.sendMessage('Message Sent! Thanks for your support!');
this.client.users.get('242699360352206850').send("**" + message.author.username + '#' + message.author.discriminator + " (" + message.author.id + ")" + ":**\n" + message.content.split(" ").slice(1).join(" "));
message.channel.send('Message Sent! Thanks for your support!');
}
}
}