mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 22:01:54 +02:00
Fix
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = class LyricsCommand extends Command {
|
||||
const { text } = await request.get(`https://www.azlyrics.com/lyrics/${artist}/${song}.html`);
|
||||
const lyrics = text.match(lyricRegex)[1];
|
||||
return lyrics
|
||||
.replace(/<br>/g, '\n')
|
||||
.replace(/<br>/g, '')
|
||||
.replace(/<\/?div>/g, '')
|
||||
.trim();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user