I based this on a few tutorials around the net - it is an IRCbot based on the Twisted Event-Based Programming library.