diff --git a/commands/events/florida-man.js b/commands/events/florida-man.js index 8b01c16b..500c8f14 100644 --- a/commands/events/florida-man.js +++ b/commands/events/florida-man.js @@ -3,6 +3,7 @@ const { stripIndents } = require('common-tags'); const request = require('node-superfetch'); const cheerio = require('cheerio'); const { decode: decodeHTML } = require('html-entities'); +const { firstUpperCase } = require('../../util/Util'); const { months } = require('../../assets/json/month'); module.exports = class FloridaManCommand extends Command { @@ -45,7 +46,7 @@ module.exports = class FloridaManCommand extends Command { if (!article) return msg.say('Could not find any results.'); return msg.say(stripIndents` **${article.title}** - ${article.firstLine} + ${firstUpperCase(months[month - 1])} ${day} — ${article.firstLine} [Read more...]() `, { files: [article.image] }); }