From a5a5d82969a2eb7b1f10b4c0872046ce34b3fd7a Mon Sep 17 00:00:00 2001 From: dbroqua Date: Mon, 30 Dec 2019 13:32:55 +0100 Subject: [PATCH] Fixed bug on auto notify --- libs/ArtistSong.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ArtistSong.js b/libs/ArtistSong.js index 224b9eb..e49fa5c 100644 --- a/libs/ArtistSong.js +++ b/libs/ArtistSong.js @@ -72,7 +72,7 @@ class ArtistSong { } if (artist.length > 0) { - botSay(where, `${process.env.RADIO_ALIAS} : Hey ${artist.toString().replace(/,/g, ', ')} ! Y'a ${currentSong.title} ! Monte${artist.length > 1 ? 'z' : ''} le son !`) + botSay(where, `${process.env.RADIO_ALIAS} : Hey ${artist.toString().replace(/,/g, ', ')} ! Y'a ${currentSong.artist} ! Monte${artist.length > 1 ? 'z' : ''} le son !`) } if (song.length > 0) { botSay(where, `${process.env.RADIO_ALIAS} : Hey ${song.toString().replace(/,/g, ', ')} ! Y'a ${song.title} ! Monte${song.length > 1 ? 'z' : ''} le son !`)