Uppercase horoscope sign

This commit is contained in:
Dragon Fire
2018-09-22 15:10:42 -04:00
parent 9486782e40
commit c5b33b6254
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "91.9.0",
"version": "91.9.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {