forked from tilderadio/radiobot
move webhook into dir
This commit is contained in:
parent
f27fc1b7cf
commit
6a7d2669a7
|
@ -2,7 +2,7 @@ server="localhost"
|
||||||
port="6667"
|
port="6667"
|
||||||
npfile="now_playing.txt"
|
npfile="now_playing.txt"
|
||||||
channel="tilderadio"
|
channel="tilderadio"
|
||||||
notify_channels="meta team yourtilde $channel"
|
notify_channels="meta team yourtilde club tildetel envs $channel"
|
||||||
link="https://tilderadio.org/listen"
|
link="https://tilderadio.org/listen"
|
||||||
schedule="https://tilderadio.org/schedule/"
|
schedule="https://tilderadio.org/schedule/"
|
||||||
source="https://tildegit.org/ben/radiobot"
|
source="https://tildegit.org/ben/radiobot"
|
||||||
|
|
|
@ -10,5 +10,5 @@ $msg .= "now playing: ";
|
||||||
$msg .= $json->now_playing->song->text . " ";
|
$msg .= $json->now_playing->song->text . " ";
|
||||||
$msg .= "~~ {$json->listeners->current} listeners";
|
$msg .= "~~ {$json->listeners->current} listeners";
|
||||||
|
|
||||||
file_put_contents("now_playing.txt", $msg);
|
file_put_contents(__DIR__."/../now_playing.txt", $msg);
|
||||||
|
|
Loading…
Reference in New Issue