mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix formatting in horoscope
This commit is contained in:
@@ -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];
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user