Another Rewrite Type Thing

This commit is contained in:
Daniel Odendahl Jr
2017-04-11 18:52:18 +00:00
parent 3867b30498
commit 85356dd2a9
82 changed files with 271 additions and 366 deletions
+3 -3
View File
@@ -33,8 +33,8 @@ module.exports = class RomajiCommand extends Command {
if (message.channel.type !== 'dm') {
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
}
const romajify = args.kana;
const romajified = hepburn.fromKana(romajify);
return message.say(romajified);
const kana = args.kana;
const romaji = hepburn.fromKana(kana);
return message.say(romaji);
}
};