This commit is contained in:
Dragon Fire
2020-04-12 09:27:37 -04:00
parent ca65c960da
commit c5273883c8
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const Command = require('../../structures/Command');
const { list } = require('../../util/Util');
const { list, firstUpperCase } = require('../../util/Util');
const months = require('../../assets/json/month');
const stones = require('../../assets/json/birthstone');
@@ -23,6 +23,6 @@ module.exports = class BirthstoneCommand extends Command {
run(msg, { month }) {
const stone = stones[month - 1];
const alternate = stone.alternate ? ` Alternatively, you can also use ${list(stone.alternate, 'or')}.` : '';
return msg.say(`The Birthstone for ${months[month - 1]} is ${stone.primary}.${alternate}`);
return msg.say(`The Birthstone for ${firstUpperCase(months[month - 1])} is ${stone.primary}.${alternate}`);
}
};