a janky bot to post now playing updates to #tilderadio
Go to file
James Tomasino c78d6eb575 awk mktime expected different date format. replace with date in seconds 2020-06-28 16:45:07 +00:00
webhook expose random slogan 2020-06-21 15:00:31 -04:00
.gitignore add support for nickserv auth 2020-06-17 15:31:24 -04:00
README.md testing out webhook 2020-06-27 19:40:10 -04:00
account.ini.sample add support for nickserv auth 2020-06-17 15:31:24 -04:00
bot.properties update source url 2020-06-18 00:15:33 -04:00
bot.sh awk mktime expected different date format. replace with date in seconds 2020-06-28 16:45:07 +00:00
dj-online-email.tmpl add now playing to announcements 2019-07-10 01:01:28 -04:00
radiobot.service add systemd service 2018-10-31 11:20:23 -04:00
slogans.txt Update 'slogans.txt' 2019-12-04 18:15:45 -05:00
toot.json.sample toot about new djs! 2018-10-24 15:47:52 -04:00

README.md

radiobot

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.