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
@@ -18,12 +18,12 @@ class AvatarCommand extends commando.Command {
}
console.log("[Command] " + message.content);
if (message.mentions.users.size !== 1) {
message.channel.sendMessage(':x: Either too many or no members, only mention one person!');
message.channel.send(':x: Either too many or no members, only mention one person!');
} else {
if(message.mentions.users.first().avatarURL === null) {
message.channel.sendMessage(":x: This person has no avatar!");
message.channel.send(":x: This person has no avatar!");
} else {
message.channel.sendMessage(message.mentions.users.first().avatarURL);
message.channel.send(message.mentions.users.first().avatarURL);
}
}
}