improve formatting of schedule command
This commit is contained in:
parent
7c7db1b785
commit
744a206c07
2
bot.sh
2
bot.sh
|
@ -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)
|
||||
|
|
Reference in New Issue