Fixed bug on auto notify
This commit is contained in:
parent
41d50ebf0c
commit
a5a5d82969
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class ArtistSong {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (artist.length > 0) {
|
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) {
|
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, `${process.env.RADIO_ALIAS} : Hey ${song.toString().replace(/,/g, ', ')} ! Y'a ${song.title} ! Monte${song.length > 1 ? 'z' : ''} le son !`)
|
||||||
|
|
Loading…
Reference in a new issue