Replace HTML tags in lyrics

This commit is contained in:
Dragon Fire
2021-05-13 17:06:56 -04:00
parent 2403a34d60
commit ac29679b67
+2
View File
@@ -55,6 +55,8 @@ module.exports = class LyricsCommand extends Command {
return lyrics
.replaceAll('<br>', '')
.replace(/<\/?div>/g, '')
.replace(/<\/?i>/g, '*')
.replace(/<\/?b>/g, '**')
.trim();
}
};