I wrote a little plugin for rbot that follows a user on Twitter and announces any twits of its friends on irc.
I registered a dedicated twitter account for our irc channel and had it follow everyone in the channel who has a Twitter account. When they twit, we get an announcement within 90 seconds:
<chanbot> via twitter, johnleach is testing his rbot plugin a bit more (23 seconds ago via web)
The plugin is available here and is licensed under the terms of the GNU General Public License v2, just like rbot.
Just drop it in your .rbot/plugins
dir, rescan, then configure twitter_relay.username
and twitter_relay.channels
and off you go. It will check the rss feed every 5 minutes by default, but that can go as low as around 60 seconds if you set twitter_relay.sleep
.
Only tested with the latest development snapshot of rbot, but it will probably work with older versions.
Leave a Reply