dr.botzo, the IRC bot with Django integration.
track all lines seen and all lines said by Markov. every 30 seconds, if there have been more than 20 such lines, and Markov is responsible for roughly half of them, then shut up for 30 seconds, because the bot probably got stuck talking to another bot. this should mean that such a reply infinite loop can't happen for more than a minute. i'm not entirely sure on the 30 sec/20 lines ratio. this may need tuning. |
||
---|---|---|
extlib | ||
modules | ||
scripts | ||
web | ||
.gitignore | ||
BUGS | ||
COPYING | ||
dr.botzo.cfg.example | ||
dr.botzo.py | ||
DrBotIRC.py | ||
EXTERNALS | ||
Module.py | ||
README | ||
TODO |
dr.botzo --- an IRC bot dr.botzo is an IRC bot written in Python and using irclib.py to handle most of the protocol stuff. It is mostly a fun project for a couple of us to hack around on, but you may find it useful, in which case you're free to copy this source, send patches, etc. SOURCE http://www.incorporeal.org/sw/?a=summary&p=dr.botzo AUTHORS Brian S. Stephan <bss@incorporeal.org> DEVELOPMENT The bot is currently written to be fairly modular. No real documentation on this yet, but those interested in developing more features should take a look at the classes in dr.botzo.py.