don't post song updates if there's no dj

This commit is contained in:
Ben Harris 2018-12-07 16:59:33 -05:00
parent 0eb56fa8e5
commit df4cc49255
1 changed files with 1 additions and 1 deletions

2
bot.sh
View File

@ -51,7 +51,7 @@ do
# now playing
if [[ $now_playing != "$(<$npfile)" ]]; then
save_info
echo -e "PRIVMSG #$channel :\x0303$now_playing" >> $input
[[ ! -z "${dj}" ]] && echo -e "PRIVMSG #$channel :\x0303$now_playing" >> $input
fi
# do things when you see output