dr.botzo, the IRC bot with Django integration.
Go to file
Brian S. Stephan 70e1ee017f make drbotzo_modules.module a primary key so that we can use INSERT OR REPLACE INTO
WARNING! if you have an existing drbotzo_modules, you MUST RECREATE IT
WITH THE PRIMARY KEY. things will be wonky without it.

easiest way is to (by hand) create drbotzo_modules_temp as shown in the code,
INSERT INTO drbotzo_modules_temp SELECT * FROM drbotzo_modules, DROP the old
table, and ALTER TABLE RENAME TO the new one.

again, if you don't do this, newer modules will do all sorts of crazy
things, namely trying to create tables that already exist (because they have
multiple, differing values in drbotzo_modules)
2011-07-26 18:32:06 -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 change the default sqlite timeout to 30 seconds 2011-07-01 18:42:49 -05:00
scripts update markov chain import script for always using a context, specified on command line 2011-06-15 20:40:24 -05: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 IrcAdmin: don't crash by trying to tell #chan that you just left #chan 2011-06-20 20:27:20 -05:00
COPYING adding GPLv3 license file 2010-07-27 20:29:28 -05:00
DrBotIRC.py don't treat the string 'debug' as an alias from the config file 2011-06-20 20:05:03 -05:00
EXTERNALS remove megahal.py from EXTERNALS 2011-01-06 00:18:02 -06:00
Module.py Module: upsert drbotzo_modules 2011-07-06 21:51:30 -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 make drbotzo_modules.module a primary key so that we can use INSERT OR REPLACE INTO 2011-07-26 18:32:06 -05: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.