527 B
527 B
radiobot (legacy)
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.
this code is very bad and should probably be rewritten from scratch.
UPDATE: it has been rewritten from scratch as a module for bitbot
the module code can be found here