diff --git a/index.js b/index.js index 19a3955..8ee99dc 100644 --- a/index.js +++ b/index.js @@ -105,7 +105,7 @@ stream.on('metadata', function (data) { console.info(`Now playing: ${song}`) // Publish song on IRC channel - bot.say(process.env.IRC_CHANNEL, `${process.env.RADIO_ALIAS} - ${song}`) + bot.say(process.env.IRC_CHANNEL, `${process.env.RADIO_ALIAS} : ${song}`) // Extract artist = title from song const splitted = song.split(' - ') diff --git a/libs/ArtistSong.js b/libs/ArtistSong.js index 09d622d..224b9eb 100644 --- a/libs/ArtistSong.js +++ b/libs/ArtistSong.js @@ -72,10 +72,10 @@ class ArtistSong { } if (artist.length > 0) { - botSay(where, `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.title} ! Monte${artist.length > 1 ? 'z' : ''} le son !`) } if (song.length > 0) { - botSay(where, `Hey ${song.toString().replace(/,/g, ', ')} ! Y'a ${song.title} ! Monte${song.length > 1 ? 'z' : ''} le son !`) + botSay(where, `${process.env.RADIO_ALIAS} : Hey ${song.toString().replace(/,/g, ', ')} ! Y'a ${song.title} ! Monte${song.length > 1 ? 'z' : ''} le son !`) } }) .catch(err => {