An IRC bot... as a Drupal module?

Been on my todo list for a while. Busted out a framework today:

Druplicon is an IRC bot that has been servicing #drupal, #drupal-support, and many other IRC channels since 2005, proving itself an invaluable resource. Originally a Perl Bot::BasicBot::Pluggable application coded by Morbus Iff, he always wanted to make the official #drupal bot an actual Drupal module.

This is the fruit of these labors. Whilst the needs of Druplicon are driving the future and design of the module, this is intended as a generic framework for IRC bots within Drupal, and usage outside of Druplicon is encouraged.

You can browse the source code online. It is very basic at the moment - mostly a proof of concept, but uses the Net_SmartIRC PEAR library, is a Drupal 5 module, and supports IRC plugins (ie., additional Drupal modules) via Drupal's hook system. I doubt I'll be converting the existing Druplicon bot over anytime soon, but I will be slowly finessing the plugin system (right after I add a "reload" function, right after I add all the IRC message types, right after I...).

Tags: