IRC bot framework(ircpm.py) and example bot (nubot.py)
This framework handles the majority of incoming traffic processing in IRC - making bot-writing very easy.
The bot included includes several features:
1 ) MYSQL channel logging
2 ) MYSQL quote functionality
3 ) MYSQL help response(ie dynamic)
4 ) MYSQL statement execution(edit/view the database via IRC)
5 ) Multiple owners(based on host) with bot->owner broadcast chat
6 ) IRC stream echo'ing(ie relaying the raw IRC stream to <anyone>)
7 ) Multiple bans(based on host)
8 ) "!enable"/"!disable" toggling of most features
Get the framework and example bot at:
Make sure you get "nubot.cfg", that's the config file the example bot depends on to start.
http://shackhost.net/~hgrubbs/code/ircpm
Work in progress on the bot is to add MYSQL-driven custom macro's to extend the bot without editing the source
