move webhook into dir

This commit is contained in:
Ben Harris 2019-10-13 16:48:13 -04:00
parent f27fc1b7cf
commit 6a7d2669a7
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ server="localhost"
port="6667"
npfile="now_playing.txt"
channel="tilderadio"
notify_channels="meta team yourtilde $channel"
notify_channels="meta team yourtilde club tildetel envs $channel"
link="https://tilderadio.org/listen"
schedule="https://tilderadio.org/schedule/"
source="https://tildegit.org/ben/radiobot"

View File

@ -10,5 +10,5 @@ $msg .= "now playing: ";
$msg .= $json->now_playing->song->text . " ";
$msg .= "~~ {$json->listeners->current} listeners";
file_put_contents("now_playing.txt", $msg);
file_put_contents(__DIR__."/../now_playing.txt", $msg);