Updated BotSay

This commit is contained in:
Damien Broqua 2020-01-07 16:38:04 +01:00
parent ed5743d1f0
commit eacd9e6b5d
2 changed files with 5 additions and 5 deletions

View file

@ -119,10 +119,10 @@ class ArtistSong {
}
if (artist.length > 0) {
botSay(where, `${process.env.RADIO_ALIAS} : Hey ${artist.toString().replace(/,/g, ', ')} ! Y'a ${currentSong.artist} ! Monte${artist.length > 1 ? 'z' : ''} le son !`)
botSay(where, `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 !`)
botSay(where, `Hey ${song.toString().replace(/,/g, ', ')} ! Y'a ${song.title} ! Monte${song.length > 1 ? 'z' : ''} le son !`)
}
})
})