Fix formatting in horoscope

This commit is contained in:
Dragon Fire
2018-07-31 13:40:01 -04:00
parent d3692a7d8c
commit 16a395731f
+2 -1
View File
@@ -45,6 +45,7 @@ module.exports = class HoroscopeCommand extends Command {
async fetchHoroscope(sign) {
const { text } = await request.get(`https://new.theastrologer.com/${sign}/`);
const $ = cheerio.load(text);
return $('#today').find('p').text();
return $('#today').find('p').text()
.split('Intensity: ')[0];
}
};