aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't double up command prefix in `!usage` output (commands.py)Gravatar jesopo2019-01-291-2/+1
|
* Actually show the command prefix we now pass to _get_usage (commands.py)Gravatar jesopo2019-01-291-0/+1
|
* Show command prefix in usage strings (commands.py)Gravatar jesopo2019-01-291-7/+14
|
* Add a `permission` to !ghwebhook so an admin user can use it without +o (github)Gravatar jesopo2019-01-291-10/+8
|
* Check a return is truthy before we decide it's an error (command.py)Gravatar jesopo2019-01-281-1/+1
|
* Typo, `force_success` -> `force_success = False` (commands.py)Gravatar jesopo2019-01-281-1/+1
|
* Add a way to force success and force failure of a command permission checkGravatar jesopo2019-01-281-5/+13
| | | | (commands.py)
* Give `StdOut.send` the new `method` param (commands.py)Gravatar jesopo2019-01-251-1/+2
|
* Also pass `method` to `StdOut`/`StdErr` `Send()` when a `send.stdout` orGravatar jesopo2019-01-231-2/+4
| | | | `send.stderr` event is sent (commands.py)
* Move logic to get `command-method` out of `Out` object (commands.py)Gravatar jesopo2019-01-231-12/+13
|
* LIGHTGREEN -> GREEN for successful commands (commands.py)Gravatar jesopo2019-01-171-1/+1
|
* Don't use bolding for command colors (commands.py)Gravatar jesopo2019-01-111-4/+2
|
* We need to normalise between a single usage string and multiple (making bothGravatar jesopo2018-12-291-1/+3
| | | | lists) to reuse the formatting code (commands.py)
* Remove an erroneous level of indentation that prevented the command beingGravatar jesopo2018-12-291-3/+4
| | | | prepended to a usage string when only 1 usage string was available (commands.py)
* Typo, 'aliase' -> 'aliases' (commands.py)Gravatar jesopo2018-12-221-1/+1
|
* Add !removealias (commands.py)Gravatar jesopo2018-12-221-0/+17
|
* Actually set new args_split (commands.py)Gravatar jesopo2018-12-221-0/+1
|
* .partition returns a tuple of 3 (commands.py)Gravatar jesopo2018-12-221-1/+1
|
* Add basics of a command alias systemGravatar jesopo2018-12-221-2/+33
|
* This regex should have been r"" (commands.py)Gravatar jesopo2018-12-221-1/+1
|
* Better constifying of color/font charsGravatar jesopo2018-11-131-4/+4
|
* Add "prefixed-commands" to !channelsetGravatar jesopo2018-11-121-0/+3
|
* Add a way to tell bitbot to only response to highlight-based commands (e.g. ↵Gravatar jesopo2018-11-121-0/+3
| | | | "bitbot: ping") but ignore prefixed commands (e.g. "!ping")
* Add a way to prevent responses to commands at all in specific channelsGravatar jesopo2018-11-121-0/+7
|
* Add ability to hide [Prefix] from command outputsGravatar jesopo2018-11-071-1/+19
|
* Add a way to silently stop commands executing in modules/commands.pyGravatar jesopo2018-11-021-0/+5
| | | | (preprocess.command)
* serverset identity-mechanism should be in modules/permissions.pyGravatar jesopo2018-11-021-2/+0
|
* Remove extra ) in modules/commands.pyGravatar jesopo2018-10-281-1/+1
|
* Typo in modules/command.py, 'is' -> 'if'Gravatar jesopo2018-10-281-1/+1
|
* Support multiple "usage" values in commands.pyGravatar jesopo2018-10-281-8/+15
|
* str(utils.EventError) should be written to stderr, not stdoutGravatar jesopo2018-10-161-1/+1
|
* 'EventManager.EventError' -> 'utils.EventError' in modules/commands.pyGravatar jesopo2018-10-161-1/+1
|
* Add utils.EventError, utilise it for stderr in commands.py/coins.pyGravatar jesopo2018-10-161-6/+9
|
* Mark command hooks that are aliases ('g' vs 'google')Gravatar jesopo2018-10-101-1/+12
|
* Support denoting command response [prefix] in docstringGravatar jesopo2018-10-041-2/+4
|
* Fix showing usage when a user doesn't provide enough args to a commandGravatar jesopo2018-10-031-4/+5
|
* Add 'remove_empty' kwarg for commands, to strip out empty spaceGravatar jesopo2018-10-031-0/+4
|
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules ofGravatar jesopo2018-10-031-20/+22
| | | | related functionality
* Support changing command responses from PRIVMSG to NOTICEGravatar jesopo2018-10-021-9/+31
|
* Re-add lost "!" prefix on stderr prefixGravatar jesopo2018-10-021-1/+1
|
* Pass msgid in send_stdout/send_stdin in modules/commands.pyGravatar jesopo2018-10-021-2/+4
|
* It's 'draft/msgid' not just 'msgid', also actually store 'msgid' in self._msgidGravatar jesopo2018-10-011-2/+2
|
* The correct msgid reply tag (at the moment) is '+draft/reply'Gravatar jesopo2018-10-011-1/+1
|
* Better support for msgtags with PRIVMSGs; put functionality in toGravatar jesopo2018-10-011-5/+17
| | | | modules/commands.py to reply to specific messages by use of msgids
* Typo in modules.commands.py, 'unsafe_call' -> 'call_unsafe'Gravatar jesopo2018-10-011-1/+1
|
* Add call_unsafe functions to EventManager.EventHook, to not swallow errors onGravatar jesopo2018-10-011-2/+2
| | | | specific function calls (e.g. preprocess.command)
* Update a reference from `buffer` to `target.buffer` in modules/commands.pyGravatar jesopo2018-09-301-1/+1
|
* Switch to using docstring for usage, permission and require_modeGravatar jesopo2018-09-301-19/+22
|
* We don't need to explicitly pass "buffer" through on command eventsGravatar jesopo2018-09-301-4/+2
|
* Better .strip()/.split() logic for !helpGravatar jesopo2018-09-291-2/+6
|