forked from tilderadio/radiobot
add from: and fix link sed
This commit is contained in:
parent
41396982c6
commit
97468cd6a2
2
bot.sh
2
bot.sh
|
@ -43,7 +43,7 @@ do
|
|||
done 10< subscribers.txt
|
||||
|
||||
while read -u 11 subscriber email_addr; do
|
||||
sed -e "s/<dj>/$dj/g" -e "s/<link>/$link/g" dj-online-email.tmpl \
|
||||
sed -e "s/<dj>/$dj/g" -e "s|<link>|$link|g" dj-online-email.tmpl \
|
||||
| sendmail $email_addr
|
||||
done 11< email-subscribers.txt
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
From: radiobot <radiobot@tilde.chat>
|
||||
Subject: tilderadio: dj <dj> is now streaming!
|
||||
|
||||
<dj> just came on the air on tilderadio.org!
|
||||
|
|
Loading…
Reference in New Issue