Commit graph

85 commits

Author SHA1 Message Date
jesopo
d003b8eb57 change position of target_str in self.command args 2019-05-21 23:14:56 +01:00
jesopo
6d44db6065 Remove references to STATUSMSG - just pass around a raw target_str (target
without statusmsg chars stripped off)
2019-05-21 23:09:32 +01:00
jesopo
7ddc539ea6 don't overwrite tags var 2019-05-21 13:02:40 +01:00
jesopo
11e5cc50c4 Keep commands/outs.py tags-agnostic 2019-05-21 12:56:05 +01:00
jesopo
02998efc43 Actually pass args_split in to _find_command_hook 2019-05-20 06:42:17 +01:00
jesopo
c9b9827c14 take/return args_split from _find_command_hook, for alias replacing 2019-05-20 06:39:58 +01:00
jesopo
5ed9185fb5 Remove now-unneeded call to .buffer.skip_next() after a preprocess.command
failure
2019-05-19 17:53:21 +01:00
jesopo
9d89d7198e target doesn't exist in message handlers 2019-05-19 17:36:31 +01:00
jesopo
db3525778e Only buffer.skip() for non-regex commands 2019-05-19 17:34:14 +01:00
jesopo
8be178f406 Use re.search, not re.match, for command.regex hooks 2019-05-19 08:41:20 +01:00
jesopo
4e0e63e7f8 Hand over regex-based-command responsibilities to commands module 2019-05-18 18:35:47 +01:00
jesopo
278d6f02d6 Don't collect preprocess.command errors after we get a HARD_FAIL 2019-05-15 16:41:49 +01:00
jesopo
5ca9ae550d msgid has been ratified 2019-05-15 08:45:59 +01:00
jesopo
7ed4d5fa03 draft/msgid isn't ratified quite yet 2019-05-14 23:07:55 +01:00
jesopo
421d9c10c7 Add utils.irc.MessageTag and use it for both draft and ratified msgid 2019-05-14 13:02:45 +01:00
jesopo
73052ddc49 Update !help usage string 2019-05-11 17:07:24 +01:00
jesopo
81bb0242fe Change !help to be !help <module> <command> 2019-05-10 16:11:53 +01:00
jesopo
543a01882b Don't parse '/me's as commands 2019-05-06 23:26:13 +01:00
jesopo
c11afedba9 Add !serverunignore 2019-05-06 17:17:06 +01:00
jesopo
96550eaef0 put permission control on !serverignore, don't rely on setting default of None 2019-05-06 17:16:48 +01:00
jesopo
a368bc018a server -> event["server"] 2019-05-06 17:13:09 +01:00
jesopo
8312efcc1c Pass server param to _is_ignored 2019-05-06 17:12:05 +01:00
jesopo
0114d35d4c Add a mechanism to ignore specific commands for a whole network 2019-05-06 17:08:56 +01:00
jesopo
44b15073e7 No longer prefix stderr with "!", it doesn't really make sense 2019-04-30 22:45:52 +01:00
jesopo
677b488ab0 Typo in commands/outs.py, 'methd' -> 'method' 2019-04-30 22:45:37 +01:00
jesopo
df39570d4a Add ability to ignore users per-command 2019-04-27 14:49:45 +01:00
jesopo
f8e933d4cc Delete 'ignore' setting when unignoring so it doesn't hold space in the database
but still defaults to false
2019-04-26 07:57:20 +01:00
jesopo
cf9898d5bd Support continuous alias arg replacements (e.g. "index 1 onwards" using "$1-") 2019-04-14 21:54:02 +01:00
jesopo
8c94bcf6ca Move utils.irc.IRCParsedLine to IRCLine.ParsedLine, improve truncation
mechanism, don't convert sent line from ParsedLine to text to ParsedLine for
line_handler handling
2019-02-23 21:33:04 +00:00
jesopo
dec3485071 Clear command Out text when there's nothing left to send 2019-02-22 17:47:25 +00:00
jesopo
9408cc9487 Typo, 'ValuError' -> 'ValueError' 2019-02-22 17:44:46 +00:00
jesopo
bb4ec082dd Let IRCLine.Line handle truncating command output 2019-02-10 20:49:59 +00:00
jesopo
90618e883b Move REGEX_CUTOFF to outs.py (commands) 2019-02-09 17:52:51 +00:00
jesopo
1ff2a00c48 Move StdOut/StdErr specific consts to outs.py (commands) 2019-02-09 17:50:40 +00:00
jesopo
6b042d9460 Split command StdOut/StdErr in to their own file (commands) 2019-02-09 17:49:01 +00:00