Commit Graph

80 Commits

Author SHA1 Message Date
James Vega
a423d04d99 Remove a debugging print. 2005-01-16 20:05:41 +00:00
James Vega
3b9492d1ba unaddressed will be the bane of me! 2005-01-11 19:55:27 +00:00
James Vega
ec91c6d7d9 Properly naming registry variables is good. 2005-01-08 06:41:59 +00:00
James Vega
b4817ec5d8 Actually *use* unaddressed.replyExistingFactoid 2005-01-06 04:00:04 +00:00
James Vega
18ea1dee4d Fix my last broken commit. Gotta have variables around before you can use
them.
2005-01-04 17:01:35 +00:00
James Vega
d9e4838410 Remove self.replied in favor of checking msg.repliedTo 2005-01-03 04:58:19 +00:00
James Vega
a4545d45a7 Fix bug #1093594, UnboundLocalError 2004-12-31 04:18:02 +00:00
James Vega
ab0eff4eea Add Infobot.update, which allows updating the is/are dbs with external Infobot
"fact packs".  Need to add threading so the bot isn't blocked while updating.
2004-12-29 20:34:19 +00:00
James Vega
cb42006490 Better emulation of Infobot wrt overwriting factoids and missing factoids. 2004-12-29 16:28:46 +00:00
James Vega
c93edfc42e Change Infobot's *Unaddressed* config variables to be unaddressed.* and add
unaddressed.replyExistingFactoid.
Began Infobot refactoring and changing the dbs so that they can be channel
specific.  This is likely still broken.
2004-12-29 06:18:43 +00:00
James Vega
df14ebc0d2 Deprecate Infobot until we get around to fixing it. 2004-12-10 03:43:43 +00:00
James Vega
d9a8b7df06 standardSubstitute moved 2004-10-27 03:27:38 +00:00
James Vega
4dafdcdd57 Massive updates. %r -> %s, some commands.wrap updates. Factoids is broke
until we get some stuff working in commands.py
2004-10-23 22:07:50 +00:00
Jeremy Fincher
a30ad667ed Added some more stop words. 2004-09-30 20:00:41 +00:00
Jeremy Fincher
53baabedad Should fix #1032551. 2004-09-22 22:22:38 +00:00
James Vega
50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
James Vega
4f09fad147 More __parent fixes. 2004-09-19 23:51:21 +00:00
James Vega
0f182d67e4 Update to use new-style db abstractions, some super stuff. 2004-09-17 04:21:32 +00:00
Jeremy Fincher
9720b79a48 Changed tagging method. 2004-09-16 14:37:08 +00:00
Jeremy Fincher
12269e0986 I got rid of callbacks.IrcObjectProxy.finished. 2004-09-16 11:41:20 +00:00
Jeremy Fincher
da5fd46bb1 Use the new msg.repliedTo tag. 2004-09-14 15:09:01 +00:00
Jeremy Fincher
49c465c1c7 Database independence stuff. 2004-09-11 20:24:52 +00:00
Daniel DiPaolo
0f89737c16 Whoops, forgot an arg to the string formatting 2004-09-09 21:18:57 +00:00
James Vega
30d36aae1f Add support for multi-word karmas 2004-09-07 20:28:24 +00:00
James Vega
382fb2b838 Our #! path should be /usr/bin/env python 2004-09-07 14:31:06 +00:00
Jeremy Fincher
26bb2335f3 Fix for attributeError I ran into, as well as a premature commit of a name change (but since it's just a name change, I'm fine with it). 2004-09-06 08:44:45 +00:00
James Vega
c4b2d53468 We shouldn't confirm for alsos. Add some more ends and add starts. Also,
move the sqlite import inside of SqliteInfobotDB
2004-09-05 22:57:15 +00:00
James Vega
5f00a39ce4 Update to proper super() usage and make sure we're not trying to close() None 2004-09-03 19:12:05 +00:00
James Vega
99a1da950b Revert most of jemfinch's changes (he hadn't meant to commit them) and
fix my handling of the db in SqliteInfobotDB
2004-09-03 13:55:03 +00:00
Jeremy Fincher
82791571c1 Fixed some bugs in some callCommands, as well as used some super calls where before we did it the wrong way. 2004-09-01 04:55:08 +00:00
James Vega
a7379fe538 I should've run the tests earlier. Now adding the inital values to the db
actually works.
2004-08-30 02:03:38 +00:00
James Vega
9b00751ce0 We must use our internal reply() method if we're going to keep track of whether
we've already replied.
2004-08-30 00:56:00 +00:00
James Vega
b111642379 Let's properly mimic Infobot's stats command and add some initial items to
a freshly created db.
2004-08-29 17:05:14 +00:00
James Vega
b6d28d7560 Let's avoid an assertion error by making sure we don't use empty msg's 2004-08-28 21:12:44 +00:00
James Vega
b2b0e26e59 Let's ignore things that look like karma adjustments 2004-08-27 16:05:33 +00:00
James Vega
e0c5dbae43 gotta stop being so greedy. it's not fair for everyone else 2004-08-25 16:42:54 +00:00
James Vega
fa84b0c87c Switchamabob 2004-08-19 17:57:55 +00:00
James Vega
72f36efc18 Fix some problems in Infobot.py's sqlite implementation and genericize
some other errors to better fit in with db abstraction
2004-08-17 20:01:23 +00:00
James Vega
ff8edb48fe Abstract Infobot's DB and default to SqliteInfobotDB over PickleInfobotDB 2004-08-17 05:16:28 +00:00
Jeremy Fincher
a39ad7b801 Changed info logs to debug logs. 2004-08-10 06:14:31 +00:00
James Vega
04d0e5f667 Infobot is looking pretty complete! 2004-08-06 02:42:20 +00:00
James Vega
d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +00:00
Jeremy Fincher
b6ba7955ac With some clearer thinking, I believe this is the proper implementation of tmpDir. If there's something wrong with it, send me a note or write a test and it'll be fixed. 2004-08-01 12:46:03 +00:00
Jeremy Fincher
b4f7b878cf Forgot to prepend something to the tell. 2004-07-31 12:09:41 +00:00
Jeremy Fincher
823bfb040f Added utils.AtomicFile and converted our uses of 'w' to it. This rocks. 2004-07-31 10:21:07 +00:00
Jeremy Fincher
750d6c5e5b Added tell to Infobot. 2004-07-31 06:46:19 +00:00
James Vega
0412055a85 There's no need to test all of the tokens we're looking at. If the first one
is a command, bail out.
2004-07-31 06:32:01 +00:00
James Vega
eeacd8bd22 Fixed the issue with responding when he shouldn't be by making try:finally
one fat bastard.
2004-07-31 04:52:50 +00:00
James Vega
115a3a88ec move isCtcp to ircmsgs and fix up a couple things with Infobot 2004-07-31 03:45:25 +00:00
James Vega
c31512da01 We can respond if we're addressed but there's no terminal question mark. Actions
on the other hand are the DEVIL! They get banished immediately.
2004-07-31 02:01:28 +00:00