From e2568c70da19fdc25540efaa7d4e380343761a05 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 23 Oct 2018 10:13:56 -0400 Subject: [PATCH] update readme and add webhook php script --- README.md | 3 +++ webhook.php | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 webhook.php diff --git a/README.md b/README.md index 0d08260..c052375 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,6 @@ super simple bot it: * responds to pings * sends a message to #tilderadio when `$now_playing_file` changes + +drop webhook.php somewhere in a webroot and update `now_playing_file` in bot.properties to point to now_playing.txt in that dir. + diff --git a/webhook.php b/webhook.php new file mode 100644 index 0000000..3cd4208 --- /dev/null +++ b/webhook.php @@ -0,0 +1,6 @@ +now_playing->song->text +);