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
@@ -18,9 +18,9 @@ class RouletteCommand extends commando.Command {
}
console.log("[Command] " + message.content);
if(message.channel.type === 'dm') {
message.channel.sendMessage(':x: Error! This is a DM!');
message.channel.send(':x: Error! This is a DM!');
} else {
message.channel.sendMessage("I choose " + message.guild.members.random().displayName + "!");
message.channel.send("I choose " + message.guild.members.random().displayName + "!");
}
}
}