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
@@ -22,12 +22,12 @@ class RomajiCommand extends commando.Command {
if(hepburn.containsKana(romajify)) {
let romajified = hepburn.fromKana(romajify);
if(romajified.length > 1950) {
message.channel.sendMessage(":x: Error! Your message is too long!");
message.channel.send(":x: Error! Your message is too long!");
} else {
message.channel.sendMessage(romajified);
message.channel.send(romajified);
}
} else {
message.channel.sendMessage(":x: Error! Message contains no Kana!\n:notepad_spiral: Note: You cannot use this command on Kanji!");
message.channel.send(":x: Error! Message contains no Kana!\n:notepad_spiral: Note: You cannot use this command on Kanji!");
}
}
}