improve formatting of schedule command

This commit is contained in:
Ben Harris 2020-06-25 10:58:37 -04:00
parent 7c7db1b785
commit 744a206c07
1 changed files with 1 additions and 1 deletions

2
bot.sh
View File

@ -182,7 +182,7 @@ do
json=$(curl -s "https://radio.tildeverse.org/api/station/1/schedule?rows=1" | jq ".[]")
nextdj=$(jq -r .name <<< "$json")
nexttime=$(TZ=UTC date -d "$(jq -r .start <<< "$json")")
msg "$from" "$schedule: $nextdj will be on at $nexttime"
msg "$from" "$schedule - $nextdj will be on at $nexttime"
;;
help)