forked from tilderadio/radiobot
add notices to #meta, #music, and #yourtilde
This commit is contained in:
parent
77724d146a
commit
a025d9f3ec
7
bot.sh
7
bot.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue