aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
Commit message (Collapse)AuthorAgeFilesLines
* Remove @staticmethodGravatar panicbit2019-10-121-2/+1
|
* Adjust line splitpoints to word boundariesGravatar panicbit2019-10-091-0/+15
|
* pass whether a command.regex trigger was an ACTION or notGravatar jesopo2019-10-031-1/+2
|
* only check arg number at all when not "$-"Gravatar jesopo2019-09-301-5/+4
|
* support "$-" for alias arg, meaning "0 or more args"Gravatar jesopo2019-09-301-4/+8
|
* `returned` is now a tuple; we want `message`Gravatar jesopo2019-09-261-1/+1
|
* allow all preprocess.command and check.command failures to have a messageGravatar jesopo2019-09-261-14/+22
|
* make !silence effect min_args and unknown-commandGravatar jesopo2019-09-261-45/+40
| | | | closes #160
* return command (in case resolved alias) from _find_command_hook()Gravatar jesopo2019-09-121-6/+6
|
* Switch more settings to FunctionSettingsGravatar jesopo2019-09-041-18/+6
|
* 'usage' does not existGravatar jesopo2019-09-011-1/+1
|
* Refactor hook kwargs to be stored as a list of tuples to support key duplicatesGravatar jesopo2019-07-281-5/+1
| | | | closes #108
* replace \n\n with \n in command outputsGravatar jesopo2019-07-151-1/+7
|
* Show warning for private-only commands in channels and visa versaGravatar jesopo2019-07-111-4/+28
| | | | closes #89
* only set last_stdout/last_stderr when there's actually outputGravatar jesopo2019-07-071-8/+9
|
* fix typo; closes issue #80Gravatar fosslinux2019-07-061-1/+1
|
* add bot-wide command-method optionGravatar jesopo2019-07-041-1/+4
|
* Allow commands to append to out/err prefixGravatar jesopo2019-07-031-7/+11
|
* don't overwrite command_check_self()Gravatar jesopo2019-07-011-1/+1
|
* Add check.command.is-channel handler in commands moduleGravatar jesopo2019-07-011-0/+7
|
* Only accept highlight-commands when they have "," or ":"Gravatar jesopo2019-06-281-2/+1
|
* Refactor set/channelset/serverset/botset in to 'utils.Setting' objectsGravatar jesopo2019-06-281-20/+23
|
* 'call_unsafe_for_result' -> 'call_for_result_unsafe'Gravatar jesopo2019-06-261-1/+1
|
* Switch all 'hook.kwargs.get(' calls to 'hook.get_kwarg('Gravatar jesopo2019-06-261-6/+8
|
* dont use "|" multi-event syntax. it's weirdGravatar jesopo2019-06-261-1/+2
|
* send is_channel kwarg on unknown.command eventGravatar jesopo2019-06-241-2/+3
|
* Fire an event when a user tries an unknown commandGravatar jesopo2019-06-241-0/+8
|
* Don't exclude !commands from IRCBuffer objectsGravatar jesopo2019-06-201-2/+0
|
* Move !ignore logic to it's own fileGravatar jesopo2019-06-201-98/+6
|
* add `margin` arg to ParsedLine.truncate so commands/outs.py doesn't do itGravatar jesopo2019-06-191-5/+3
| | | | manually and cause potential issues with multi-byte chars
* Move !help to it's own module and entirely rework its interfaceGravatar jesopo2019-06-181-83/+0
|
* Remove debug printsGravatar jesopo2019-06-181-2/+0
|
* Simplify SentLine by shifting truncation to ParsedLine (and commands.outs)Gravatar jesopo2019-06-181-7/+15
|
* Allow command.regex hooks to opt-in to being triggered from a /meGravatar jesopo2019-06-161-7/+9
| | | | closes #68
* forgot to pass `stdout` and `stderr` to command callbacks!Gravatar jesopo2019-06-161-1/+2
|
* Change from `yield` checks to a func in `events` that pass up EventErrorsGravatar jesopo2019-06-151-49/+22
|
* catch StopIteration.value, pass back EventError that comes from a generatorGravatar jesopo2019-06-141-3/+3
|
* add `self` check.command, change !config to use new yieldsGravatar jesopo2019-06-141-0/+8
|
* Add a way to __or__ `utils.Check`s, as a "if one of these passes" thingGravatar jesopo2019-06-141-6/+16
|
* Catch `yield`s in command callbacks for e.g. permission checksGravatar jesopo2019-06-141-24/+71
|
* command-out truncation logic should be referencing `sent_line`Gravatar jesopo2019-06-101-3/+3
|
* Add `.assure()` to ParsedLine, to make it immune from `.valid()`Gravatar jesopo2019-06-101-9/+18
|
* check stdout/stderr `has_text()` before .send() gets rid of itGravatar jesopo2019-06-071-2/+3
|
* actually return `ret`Gravatar jesopo2019-06-071-0/+2
|
* Only show typing indicators for commands that expect outputGravatar jesopo2019-06-071-3/+6
|
* Send `+draft/typing` tag when processing commandsGravatar jesopo2019-06-071-4/+18
|
* Remove +draft/typing TAGMSG - that was for testingGravatar jesopo2019-06-061-3/+0
|
* move immediate-write-trigger to IRCServer.py, trigger _event_loop forGravatar jesopo2019-06-061-1/+0
| | | | running=False
* Send +draft/typing before processing command. WIPGravatar jesopo2019-06-061-0/+4
|
* Add `depends-on` hashflags to relevant modulesGravatar jesopo2019-05-251-0/+3
|