a janky bot to post now playing updates to #tilderadio
Go to file
Ben Harris c76218d57e Merge branch 'master' into master 2021-09-07 15:58:52 +00:00
webhook expose random slogan 2020-06-21 15:00:31 -04:00
.drone.yml add shellcheck on deploy 2020-06-28 14:34:51 -04:00
.gitignore add support for nickserv auth 2020-06-17 15:31:24 -04:00
README.md Update 'README.md' 2020-07-16 18:27:50 -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 tidy up systemd service file 2020-06-28 14:45:03 -04:00
slogans.txt stay at home! 2020-04-03 01:54:37 -04:00
toot.json.sample toot about new djs! 2018-10-24 15:47:52 -04:00

README.md

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