dr.botzo, the IRC bot with Django integration.
rather than getting all k2s for a value from the database, then walking the list and picking one at random, pick one for a value at random via a query this simplifies the code, and is (usually) faster than the old way, which has been removed. it would be even faster if it weren't for that context_id stuff, but so it goes |
||
---|---|---|
extlib | ||
modules | ||
scripts | ||
web | ||
.gitignore | ||
BUGS | ||
COPYING | ||
dr.botzo.cfg.example | ||
dr.botzo.py | ||
DrBotIRC.py | ||
EXTERNALS | ||
logging.cfg | ||
Module.py | ||
README | ||
requirements.txt | ||
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.