don't post song updates if there's no dj
This commit is contained in:
parent
0eb56fa8e5
commit
df4cc49255
2
bot.sh
2
bot.sh
|
@ -51,7 +51,7 @@ do
|
||||||
# now playing
|
# now playing
|
||||||
if [[ $now_playing != "$(<$npfile)" ]]; then
|
if [[ $now_playing != "$(<$npfile)" ]]; then
|
||||||
save_info
|
save_info
|
||||||
echo -e "PRIVMSG #$channel :\x0303$now_playing" >> $input
|
[[ ! -z "${dj}" ]] && echo -e "PRIVMSG #$channel :\x0303$now_playing" >> $input
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# do things when you see output
|
# do things when you see output
|
||||||
|
|
Reference in New Issue