diff --git a/commands/Chant.js b/commands/Chant.js index 35869d7..bbc945c 100644 --- a/commands/Chant.js +++ b/commands/Chant.js @@ -26,7 +26,7 @@ module.exports = { if (!isNaN(args[0])) { return message.reply(findMessage('WRONG_ARGUMENTS')); } - const Chant = getSpell({ Character: docs[0].character, chant_name: args[0] }); + const Chant = getChant({ Character: docs[0].character, chant_name: args[0] }); if (!Chant) { return message.reply(findMessage('CHANT_UNKNOWN')); } diff --git a/commands/Chants.js b/commands/Chants.js index 1d68954..e480e7c 100644 --- a/commands/Chants.js +++ b/commands/Chants.js @@ -21,14 +21,14 @@ module.exports = { if (args.length === 0) { return message.reply(ReplyChantList(createChantList(Character))); //?+ } - const Spell = getChant({ + const Chant = getChant({ Character: Character, chant_name: args[0], }); - if (!Spell) { + if (!Chant) { return message.reply(findMessage('SPELL_UNKNOWN')); } - return message.reply(ReplyChant(Spell)); + return message.reply(ReplyChant(Chant)); }); }, };