fix: genre mapping
This commit is contained in:
parent
3c9c10f8f9
commit
e2b03e5a07
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const emojiMap = (genre, artist) => {
|
||||||
// early return for bad input
|
// early return for bad input
|
||||||
if (!genre) return DEFAULT;
|
if (!genre) return DEFAULT;
|
||||||
|
|
||||||
if (genre.includes("death metal")) return "💀";
|
if (genre.includes("death metal") || genre.includes("death-doom")) return "💀";
|
||||||
if (genre.includes("black metal") || genre.includes("blackgaze")) return "🪦";
|
if (genre.includes("black metal") || genre.includes("blackgaze")) return "🪦";
|
||||||
if (genre.includes("metal")) return "🤘";
|
if (genre.includes("metal")) return "🤘";
|
||||||
if (genre.includes("emo") || genre.includes("blues")) return "😢";
|
if (genre.includes("emo") || genre.includes("blues")) return "😢";
|
||||||
|
|
Reference in a new issue