Commit Graph

42 Commits

Author SHA1 Message Date
Jeremy Fincher
71791ab60b Added wordstats and whatnot. 2003-11-05 06:09:17 +00:00
Jeremy Fincher
d548447750 Moved Karma off into its own plugin. 2003-11-04 08:42:11 +00:00
Jeremy Fincher
d816bc6a68 Added selfstats toggle; Fixed karma to be case-insensitive but case-preserving. 2003-11-02 18:59:06 +00:00
Daniel DiPaolo
15b18edc11 made karma case-insensitive 2003-10-31 21:03:35 +00:00
Jeremy Fincher
2a0687e46c Fixed AttributeError in seen. 2003-10-29 16:18:16 +00:00
Jeremy Fincher
2b68eb908f Make seen not error if it doesn't recognize the user. 2003-10-29 16:15:33 +00:00
Daniel DiPaolo
bfdbda625a Changed karma pluralization to use utils.pluralize() and fixed the tests to
avoid erroring due to ambiguous commands for 'stats' (since 'User' is also
loaded for the tests)
2003-10-29 07:46:49 +00:00
Jeremy Fincher
5ae13a9422 Made the bot keep stats on himself. 2003-10-24 22:29:30 +00:00
Jeremy Fincher
68dd30cb8b Made stats default to the name of the person asking. 2003-10-23 20:59:51 +00:00
Jeremy Fincher
e189603220 Fixed multiple-karma responses in the face of no results. 2003-10-22 03:40:00 +00:00
Jeremy Fincher
0ab3347567 Updated ChannelDB to use user ids instead of usernames. 2003-10-20 07:39:40 +00:00
Jeremy Fincher
e760320ca0 Changed to use the repr of the last message. 2003-10-20 06:22:15 +00:00
Jeremy Fincher
d307421665 Added QUIT statkeeping. 2003-10-16 13:34:02 +00:00
Jeremy Fincher
e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
Jeremy Fincher
bc3ec9f70c Fixed pluralization bug in stats command. 2003-10-09 19:20:50 +00:00
Jeremy Fincher
fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher
7b28caba1b Converted karma stuff to use addressedRegexps. 2003-10-09 05:08:18 +00:00
Jeremy Fincher
de5202cc27 Bugfix. 2003-10-06 21:17:21 +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
2cd657c9a9 Made sure ChannelDBHandler is before callbacks.Privmsg* in the inheritance order so self.die() is ChannelDBHandler's and not callbacks.Privmsg*. 2003-10-05 04:41:49 +00:00
Jeremy Fincher
3af3b4c985 __all__'ed baseplugin.py, updated other plugins to reflect that. 2003-10-04 13:53:13 +00:00
Jeremy Fincher
32eb85e3c5 Fix for KeyError escaping from stats. 2003-10-02 00:43:38 +00:00
Jeremy Fincher
de7da5abc1 Fixed --user to actually work. 2003-10-02 00:42:26 +00:00
Jeremy Fincher
dcffc5df62 Minor change: names -> nicks in @seen help. 2003-10-02 00:24:36 +00:00
Jeremy Fincher
0e0dad2341 Added additional help for karma command. 2003-10-02 00:16:39 +00:00
Jeremy Fincher
f9a7bf0609 getopt-ified seen to use nicks by default and users only if given the --user option. 2003-10-02 00:13:44 +00:00
Jeremy Fincher
1410d1af43 Added the ability to handle multiple karma items in one request, like Moobot. 2003-09-29 07:29:18 +00:00
Jeremy Fincher
41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +00:00
Jeremy Fincher
e386518997 Fixed escaping KeyError and added test. 2003-09-09 07:57:49 +00:00
Jeremy Fincher
92b2d195b3 Made seen command handle actions better. 2003-09-02 06:19:58 +00:00
Jeremy Fincher
9d51e998b5 Added example strings. 2003-08-27 18:06:26 +00:00
Jeremy Fincher
eb7b696ce9 Made increase/decrease karma stuff work more like moobot (i.e., require a prefixchar and disallow spaces) 2003-08-25 07:24:11 +00:00
Jeremy Fincher
98b0acb942 Made karma return the highest/lowest karmas when given no arguments. 2003-08-24 21:51:20 +00:00
Jeremy Fincher
95f5abdda4 Made sure no prefixchars got into the karma table. 2003-08-22 22:59:28 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
James Vega
edf695aaad Fixed the karma (++/--) regexes 2003-08-19 22:06:07 +00:00
Jeremy Fincher
44d4c98dc7 Had to do a map(int, ...) thing because sqlite sometimes sucks at that kind of thing. 2003-08-17 06:22:01 +00:00
Jeremy Fincher
5cacbfb18a Wrong pluralization in karma. 2003-08-15 02:56:29 +00:00
Jeremy Fincher
6d40bb475e Karma works now. 2003-08-12 19:38:23 +00:00
Jeremy Fincher
88c6c7b136 Some changes to the karma stuff, I forget the details. 2003-08-12 18:44:13 +00:00
Jeremy Fincher
d81c1be4f2 Moving ChannelStats over to ChannelDB as we add karma and quotes. 2003-08-11 22:31:16 +00:00