Commit Graph

645 Commits

Author SHA1 Message Date
Jeremy Fincher
047470f371 Fixed gkstats 'last seen' regexp. 2003-04-05 19:45:48 +00:00
Jeremy Fincher
a708471a45 Added morehelps and change a gkstats regexp slightly. 2003-04-05 19:41:59 +00:00
Jeremy Fincher
ec88721cb2 Made queue pickle-able. 2003-04-05 14:00:40 +00:00
Jeremy Fincher
6d3c060208 Made sure all authentication was removed on bot exit. 2003-04-05 13:54:12 +00:00
Jeremy Fincher
f078d7fe1b Changed IrcState.history to a queue(). 2003-04-05 13:46:44 +00:00
Jeremy Fincher
e93f0e62d0 Pulled out questions.py, added a few more niceties. 2003-04-05 13:41:36 +00:00
Jeremy Fincher
d9263c835d Initial import; pulled out of scripts/setup.py and put here for public use. 2003-04-05 13:38:48 +00:00
Jeremy Fincher
2aecb6b390 Added more tests 2003-04-05 13:35:45 +00:00
Jeremy Fincher
b6608b9643 Added flatten. 2003-04-05 13:35:25 +00:00
Jeremy Fincher
f4b1884a34 Made it more interactive. 2003-04-05 12:50:15 +00:00
Jeremy Fincher
8f16571fdb Fixed stupid syntax error (wrong quotes around praise) 2003-04-05 12:37:15 +00:00
Jeremy Fincher
1d23d06d20 Added tests for isAction and unAction 2003-04-05 12:33:28 +00:00
Jeremy Fincher
27c88542c7 Added commented-out test for when slice support is added to queue. 2003-04-05 12:26:13 +00:00
Jeremy Fincher
277a1a356d Changed conf.minHistory to conf.maxHistory. 2003-04-05 12:25:39 +00:00
Jeremy Fincher
6f49bd2813 Added a few more tests. 2003-04-05 12:23:53 +00:00
Jeremy Fincher
e4715d4d3f Added length=0 handling to soundex to return the everything. 2003-04-05 11:29:29 +00:00
Jeremy Fincher
b8f2bbb1bb Another go at fixing the looping bug. 2003-04-05 11:25:38 +00:00
Jeremy Fincher
a50643c025 Added soundex to utils (along with a test) and to FunCommands. 2003-04-05 11:23:28 +00:00
Jeremy Fincher
4790d580ef Initial import. 2003-04-05 10:41:08 +00:00
Jeremy Fincher
d708a6f6d4 Re-enabled __slots__ and added __getstate__, __setstate__ 2003-04-05 10:40:36 +00:00
Jeremy Fincher
d0a569eb31 Added rawmsgs, msgs, and getMsgs for easy test messages. 2003-04-05 10:32:14 +00:00
Jeremy Fincher
eed4d68485 Initial import. 2003-04-05 10:31:24 +00:00
Jeremy Fincher
cf5af96ad0 Added __getitem__ and __setitem__ tests, as well as an IterableMap test. 2003-04-05 10:29:16 +00:00
Jeremy Fincher
d6059ac71e Added proper ValueError raising when there's no command in IrcMsg.__init__. 2003-04-05 10:28:30 +00:00
Jeremy Fincher
cf8c5c01cf Changed Channel to make it more in-line with future sets.Set. 2003-04-05 10:27:02 +00:00
Jeremy Fincher
a3c4b9bc0b Lots of updates; most importantly, queue() and set() now take iterables as their single argument. Note that this will cause configuration file breakages. 2003-04-05 10:26:26 +00:00
Jeremy Fincher
bc56b5bcc9 Added comments to denote sections. 2003-04-05 10:25:09 +00:00
Jeremy Fincher
7a3d06a2bb Changed NOTNULL to NOT NULL and the order of the methods (yeah, I'm anal) 2003-04-05 10:24:40 +00:00
Jeremy Fincher
e962cc1d77 Added test for abbrev and fixed a bug it found. 2003-04-04 16:14:58 +00:00
Jeremy Fincher
100d0fa016 Added levenshtein distance 2003-04-04 15:49:24 +00:00
Jeremy Fincher
c88b43122e Initial import. 2003-04-04 09:54:27 +00:00
Jeremy Fincher
ae18871f7f Fixed bug found in IrcChannel.checkCapability 2003-04-04 09:12:42 +00:00
Jeremy Fincher
061f2e0a78 Added __ne__ method to IrcMsg 2003-04-04 09:12:00 +00:00
Jeremy Fincher
9a39417fcf Added more tests. 2003-04-04 09:06:31 +00:00
Jeremy Fincher
b7e11b87c0 Initial import. 2003-04-04 08:32:41 +00:00
Jeremy Fincher
1855bafe45 Added more tests 2003-04-04 08:31:38 +00:00
Jeremy Fincher
a46ce6b109 Changed the way Irc handles unresponded-to PINGs. 2003-04-04 08:30:16 +00:00
Jeremy Fincher
29effdf8cc Made sure the bot responds with uneven quotations or brackets. 2003-04-04 08:29:13 +00:00
Jeremy Fincher
d4d81f09dc Initial import (to fix bug in 2.2 and 2.3) 2003-04-04 08:26:59 +00:00
Jeremy Fincher
8d2ac8c359 Changed nickToLower to toLower (it works for channels too 2003-04-04 07:07:19 +00:00
Jeremy Fincher
40b8eb3956 Changed ircutils.reply to ircutils.replyTo 2003-04-04 06:59:39 +00:00
Jeremy Fincher
20032a089a Added __len__ to set. 2003-04-04 06:15:34 +00:00
Jeremy Fincher
ea787b8441 Fixed bug in printf 2003-04-04 06:08:57 +00:00
Jeremy Fincher
46eb87808f Changed validArgument to isValidArgument 2003-04-04 06:08:36 +00:00
Jeremy Fincher
771f07529f Fixed new bugs caused by assertions 2003-04-04 06:06:33 +00:00
Brett Kelly
b5d47aa811 added numlarts, numinsults, and numexcuses 2003-04-04 02:35:18 +00:00
Jeremy Fincher
ebdd969c7c Added docstrings and assertions. 2003-04-03 22:06:24 +00:00
Jeremy Fincher
33b4aa052c Changed debug.debugMsg to debug.msg. 2003-04-03 10:06:11 +00:00
Jeremy Fincher
e88a5a3ae0 Added logging line to scheduleReconnect 2003-04-03 10:00:29 +00:00
Jeremy Fincher
a30ee6cd0b Changed IrcMsgQueue a bit to make it even more smarter; Added reconnection on ERROR disconnect; Added reconnect on returned PINGs. 2003-04-03 09:59:57 +00:00