aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add comment about why we strip non-alnum chars from private commandsGravatar jesopo2019-05-231-0/+4
|
* Forgot `not` so it was stripping alnum chars, not non-almun charsGravatar jesopo2019-05-231-1/+1
|
* .lstrip alphanumeric chars from private commandsGravatar jesopo2019-05-231-1/+4
|
* pass the `command_prefix` that triggered an event through event kwargsGravatar jesopo2019-05-231-4/+5
|
* Add usage examples for all settingsGravatar jesopo2019-05-231-7/+7
|
* `target_str` is BitBot's own nickname for private messagesGravatar jesopo2019-05-221-1/+1
|
* Default taget_str in send.stdout/send.stderr to target.nameGravatar jesopo2019-05-221-2/+4
|
* change arg order for StdOut(/StdErr( in send.stdout/send.stderr eventsGravatar jesopo2019-05-211-2/+2
|
* change position of `target_str` in `self.command` argsGravatar jesopo2019-05-211-10/+10
|
* Remove references to STATUSMSG - just pass around a raw `target_str` (targetGravatar jesopo2019-05-212-13/+13
| | | | without statusmsg chars stripped off)
* don't overwrite `tags` varGravatar jesopo2019-05-211-4/+4
|