add from: and fix link sed

This commit is contained in:
Ben Harris 2019-07-10 00:42:44 -04:00
parent 41396982c6
commit 97468cd6a2
Signed by: ben
GPG Key ID: 4E0AF802FFF7960C
2 changed files with 2 additions and 1 deletions

2
bot.sh
View File

@ -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

View File

@ -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!