Commit Graph

51 Commits

Author SHA1 Message Date
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
James Vega a421cbcd54 No need to tag or's since you can't escape the | 2004-07-30 23:49:44 +00:00
James Vega 7f112672de Added <action>, <reply>, and | handling 2004-07-30 23:08:16 +00:00
Jeremy Fincher 16f4231780 Forgot questions. 2004-07-25 18:24:51 +00:00
Jeremy Fincher f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher 70dc5c3096 Updated. 2004-07-23 21:27:16 +00:00
James Vega 315810d08e yay! no more stray whitespace 2004-07-21 19:36:35 +00:00
Jeremy Fincher 738546b4cf Updateed to have a bit more personality and infinity percent more configuration variables. 2004-05-07 11:34:56 +00:00
Jeremy Fincher 741fc1d8d0 Oops, didn't anchor the no. 2004-05-06 20:09:16 +00:00
Jeremy Fincher e59ae37415 Commented out some print statements, made the reply not prefix the name. 2004-05-06 16:15:21 +00:00
Jeremy Fincher e3643e0d54 Complete rewrite. 2004-05-06 15:54:26 +00:00
Jeremy Fincher e3b690f933 Added userdata registry. 2004-04-30 18:24:35 +00:00
James Vega ca9f696c8c Weed out the last of the floating point COUNT bugs 2004-04-19 15:16:31 +00:00
James Vega fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher 6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher 69f8c40119 Added deprecation support. 2004-01-15 14:08:14 +00:00
Jeremy Fincher 530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher 3398f1a819 Made the error message better when people try to run a plugin that requires sqlite and they don't have it. 2003-12-03 23:48:00 +00:00
Jeremy Fincher 48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher 5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
James Vega 7fd9859682 Switch irc.queueMsg to irc.reply 2003-10-23 14:59:03 +00:00
James Vega 2117d660a2 Dropped an extraneous paren 2003-10-20 17:20:41 +00:00
Jeremy Fincher ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher 3fe81ebdcb Added docstring and configure function. 2003-08-23 05:55:20 +00:00
Jeremy Fincher ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher 7fd35a1071 Made some changes to satisfy PyChecker. 2003-08-19 10:38:45 +00:00
Jeremy Fincher 0231cdcfd4 Somewhat working now. 2003-08-14 12:11:45 +00:00
Jeremy Fincher ecdcabb4e6 Most structure and commands in place 2003-04-01 09:07:14 +00:00
Jeremy Fincher dae47de713 Basic framework in place 2003-04-01 08:36:13 +00:00