add notices to #meta, #music, and #yourtilde

This commit is contained in:
Ben Harris 2018-11-17 20:50:08 -05:00
parent 77724d146a
commit a025d9f3ec
Signed by untrusted user: ben
GPG Key ID: 4E0AF802FFF7960C
1 changed files with 7 additions and 0 deletions

7
bot.sh
View File

@ -7,6 +7,9 @@ echo "NICK $nick" > $input
echo "USER $user" >> $input
echo "MODE $nick +B" >> $input
echo "JOIN #$channel" >> $input
echo "JOIN #meta" >> $input
echo "JOIN #music" >> $input
echo "JOIN #yourtilde" >> $input
function save_info {
@ -32,6 +35,10 @@ do
dj=$(parse_dj)
if [[ ! -z "${dj}" ]]; then
echo "PRIVMSG #$channel :$dj is now online! tune in now here: https://bhh.sh/listen" >> $input
echo "PRIVMSG #meta :$dj is now online! tune in now here: https://bhh.sh/listen" >> $input
echo "PRIVMSG #music :$dj is now online! tune in now here: https://bhh.sh/listen" >> $input
echo "PRIVMSG #yourtilde :$dj is now online! tune in now here: https://bhh.sh/listen" >> $input
while read -u 10 subscriber; do
echo "PRIVMSG $subscriber :$dj is now online! tune in now here: https://bhh.sh/listen" >> $input
done 10< subscribers.txt