Commit Graph

89 Commits

Author SHA1 Message Date
Jeremy Fincher
176b9b30b6 Fix for RFE #801934: Response in case of non-commands. 2003-09-10 08:32:20 +00:00
Jeremy Fincher
61a0142265 Added functionality to protect private commands from being @more <nicked>, and fixed the fact that it doesn't work across the Relay. 2003-09-08 19:43:33 +00:00
Jeremy Fincher
f818efa588 Added better logging of message times and prefixName option to IrcObjectProxy.reply. 2003-09-08 08:44:51 +00:00
Jeremy Fincher
315d8710dc Added pipe syntax. 2003-09-07 09:41:47 +00:00
Jeremy Fincher
5db67b0b2c Changed (more) to show the number of remaining messages. 2003-09-07 05:13:58 +00:00
Jeremy Fincher
92b745f42f Added bold to the (more) that gets appended. 2003-09-07 05:08:07 +00:00
Jeremy Fincher
723ff123e1 Fixed bug in more stuff. 2003-09-07 04:56:26 +00:00
Jeremy Fincher
3873b351f4 Added the more command. 2003-09-07 04:05:34 +00:00
Jeremy Fincher
91de0b066c Fix bug that didn't allow commands without arguments in onStart. 2003-09-06 08:00:46 +00:00
Jeremy Fincher
15c115d028 Added a sanity guard to finalEval and changed a debug.printf to a debug.msg. 2003-09-06 01:07:08 +00:00
Jeremy Fincher
7b3a62eacf Fixed bug with empty [] in command. 2003-09-05 07:26:55 +00:00
Jeremy Fincher
8f475fdcdd The command finder function (I forget the name) would find serendipitously named methods in PrivmsgRegexp, and that's bad. Fixed and added a test for the known case of it. 2003-09-02 07:30:35 +00:00
Jeremy Fincher
ebc00fe4d7 Fixed logging of ignores to actually say who's being ignored. 2003-09-01 18:35:00 +00:00
Jeremy Fincher
85caaf6696 Fixed bug in automatic canonicalNaming of non-commands. 2003-09-01 06:47:22 +00:00
Jeremy Fincher
d1677d4192 Changed regexp in Privmsg to be more flexible. 2003-09-01 05:59:58 +00:00
Jeremy Fincher
89a0d12cce Added tracking of how many commands have been processed. 2003-08-29 07:08:03 +00:00
Jeremy Fincher
a0bf562d7a Redid startup/configuration junk. 2003-08-28 16:33:45 +00:00
Jeremy Fincher
9550971042 Added ability for commands to raise callbacks.CannotNest if they are not nestable. 2003-08-27 07:45:48 +00:00
Jeremy Fincher
51a474dd14 Added verbose log for spawning CommandThreads. 2003-08-27 01:39:58 +00:00
Jeremy Fincher
58d444b571 More documentation. 2003-08-26 17:18:35 +00:00
Jeremy Fincher
09c77aa234 Can catch re.error instead of sre_constants.error. 2003-08-26 17:08:46 +00:00
Jeremy Fincher
ed92fcad2b Changed to make 'too long a message' error messages less inaccurate. 2003-08-26 15:03:34 +00:00
Jeremy Fincher
ab562416bf Added getopt.GetoptError to exceptions to return help on. 2003-08-26 13:44:32 +00:00
Jeremy Fincher
28d81d656d Made it handle improper arguments correctly; I never noticed that it wasn't doing it already. 2003-08-26 12:44:49 +00:00
Jeremy Fincher
5630782e85 Made CommandThread work with non-instancemethods. 2003-08-25 19:50:46 +00:00
Jeremy Fincher
d73abebb36 Made @karma++ not return [karma++]. 2003-08-25 07:23:36 +00:00
Jeremy Fincher
0743b3eb0a Moved commandArgs outside of __init__. 2003-08-23 06:05:01 +00:00
Jeremy Fincher
f9413129a9 Satisfying PyChecker is my life's goal. 2003-08-23 05:14:16 +00:00
Jeremy Fincher
147d5cf6da Finally got the persistent configuration working with the Relay module (though don't try to reload it :)). 2003-08-23 04:42:04 +00:00
Jeremy Fincher
8e068ce8c0 Made configuration commands persistent, yay! 2003-08-22 23:15:29 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
137f05b2e8 Made supybot report SyntaxError to the user. 2003-08-20 07:19:20 +00:00
Jeremy Fincher
fb07813a55 Added docstring for PrivmsgCommandAndRegexp 2003-08-19 10:46:52 +00:00
Jeremy Fincher
00290faca9 Fixed a possible bug in the ArgumentError handler and replaced my SyntaxError(Error) stupidity. 2003-08-17 06:24:17 +00:00
Jeremy Fincher
b78cabaed5 Wrote some more tests for FunCommands; found some bugs in the process. 2003-08-17 02:02:53 +00:00
Jeremy Fincher
f203bca787 Added ability to define regexp callbacks in a mostly-Privmsg environment. 2003-08-11 03:34:54 +00:00
Jeremy Fincher
3b5825ebe3 Removed use of eval from the tokenizer. 2003-07-31 06:45:03 +00:00
Jeremy Fincher
a7daba5eb7 Added some more documentation (though the work is probably not done). 2003-07-21 06:10:35 +00:00
Jeremy Fincher
51cb83d3e6 Made logging for rate limiting more informative. 2003-06-05 10:00:31 +00:00
Jeremy Fincher
db4495111c Changed a debug.printf to a debug.msg. 2003-05-29 16:37:03 +00:00
Jeremy Fincher
737f35c99d Removed rate limiting during testing. 2003-04-29 13:13:55 +00:00
Jeremy Fincher
5aa9beacfb Forgot to import world. 2003-04-21 06:17:19 +00:00
Jeremy Fincher
b8e3396d6b Added some (now commented out) debugging printfs. 2003-04-21 05:54:38 +00:00
Jeremy Fincher
80e4dfbe63 Added world.threadsSpawned, logging of the number of threads spawned, and added the information to cpustats. 2003-04-20 16:15:35 +00:00
Jeremy Fincher
f6392d4806 Added ignoring check in PrivmsgRegexp. Fixed stupid bug stupid stupid bug tyop bug.GRRRRR 2003-04-20 01:35:05 +00:00
Jeremy Fincher
92250ca055 Added ignoring check in PrivmsgRegexp. 2003-04-20 01:28:40 +00:00
Jeremy Fincher
e4fd36ffef Fixed 'useless reply on bad arguments' in threaded commands; added/changed Combine class. 2003-04-19 21:42:55 +00:00
Jeremy Fincher
1178536288 Added Combine, a callback to combine two Privmsg callbacks (most often Privmsg and PrivmsgRegexp) 2003-04-18 08:24:04 +00:00
Jeremy Fincher
8a18f03faa Comment changes. 2003-04-16 07:12:36 +00:00
Jeremy Fincher
5c3cf2bc93 Made PrivmsgRegexp use isCommand. 2003-04-14 07:01:20 +00:00