From c5b33b62543b7682b7ee644d277d5665734f654b Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 22 Sep 2018 15:10:42 -0400 Subject: [PATCH] Uppercase horoscope sign --- commands/events/horoscope.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/events/horoscope.js b/commands/events/horoscope.js index 1f9a2632..6d110bd9 100644 --- a/commands/events/horoscope.js +++ b/commands/events/horoscope.js @@ -2,7 +2,7 @@ const Command = require('../../structures/Command'); const { MessageEmbed } = require('discord.js'); const request = require('node-superfetch'); const cheerio = require('cheerio'); -const { list } = require('../../util/Util'); +const { list, firstUpperCase } = require('../../util/Util'); const signs = require('../../assets/json/horoscope'); module.exports = class HoroscopeCommand extends Command { @@ -31,7 +31,7 @@ module.exports = class HoroscopeCommand extends Command { const horoscope = await this.fetchHoroscope(sign); const embed = new MessageEmbed() .setColor(0x9797FF) - .setTitle(`Horoscope for ${sign}...`) + .setTitle(`Horoscope for ${firstUpperCase(sign)}...`) .setURL(`https://new.theastrologer.com/${sign}/`) .setFooter('© Kelli Fox, The Astrologer') .setTimestamp() diff --git a/package.json b/package.json index 516b57af..9a83ceae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "91.9.0", + "version": "91.9.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {