dr.botzo, the IRC bot with Django integration.
Go to file
Brian S. Stephan 03d0d6bc2d Markov: shut up if we've been too chatty in too short a period of time.
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.
2011-05-01 10:38:46 -05:00
extlib use a different megahal implementation, which seems to be better at saving the brain. 2011-01-06 00:14:16 -06:00
modules Markov: shut up if we've been too chatty in too short a period of time. 2011-05-01 10:38:46 -05:00
scripts script to take a file of lines and create sqlite markov chains 2011-02-24 21:04:28 -06:00
web Web (Storycraft): since the lines array includes the prompt for the next line (''), subtract 1 when drawing the progress bar 2011-02-22 22:55:13 -06:00
.gitignore Merge remote branch 'origin/mjb' 2011-01-20 14:08:39 -06:00
BUGS BUGS: document !alias list wrong destination bug 2011-04-02 23:23:36 -05:00
COPYING adding GPLv3 license file 2010-07-27 20:29:28 -05:00
DrBotIRC.py remove reload support, since it was broken in the first place (somehow) 2011-04-27 22:49:04 -05:00
EXTERNALS remove megahal.py from EXTERNALS 2011-01-06 00:18:02 -06:00
Module.py Module: add convenience method to set the version for a module in the database 2011-05-01 09:36:37 -05:00
README a more helpful README 2010-07-27 20:29:28 -05:00
TODO TODO: handle disconnects 2011-03-03 23:16:01 -06:00
dr.botzo.cfg.example include rank in karma output 2010-10-24 15:13:01 -05:00
dr.botzo.py migrate some code that became pivotal to the bot into DrBotIRC. 2011-01-07 17:38:26 -06:00

README

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.