aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Collapse)AuthorAgeFilesLines
* Split command StdOut/StdErr in to their own file (commands)Gravatar jesopo2019-02-091-447/+0
|
* Reply to statusmsg commands (e.g. '/msg +channel !ping') with the same statusmsgGravatar jesopo2019-02-041-7/+15
|
* Logging takes format params as a separate arg (commands.py)Gravatar jesopo2019-01-301-2/+2
|
* Make sure to call the specific hook we've decided is valid (commands.py)Gravatar jesopo2019-01-301-5/+10
|
* Break when we've found a suitable command hook (commands.py)Gravatar jesopo2019-01-301-0/+1
|
* Actually remove call to `preprocess.command` to after min_args checkGravatar jesopo2019-01-301-5/+5
| | | | (commands.py)
* Correctly check if we're in a channel command before checking if the currentGravatar jesopo2019-01-301-6/+2
| | | | hook is valid (commands.py)
* Check min_args before we check if a user has permission (commands.py)Gravatar jesopo2019-01-301-17/+17
|
* We should be using `potential_hook` until we've decided on a valid hookGravatar jesopo2019-01-301-4/+4
| | | | (commands.py)
* Get all hooks when checking command hooks, not just the first (commands.py)Gravatar jesopo2019-01-301-5/+4
|
* Check all hooks for a command and pick the first applicable one, to allow forGravatar jesopo2019-01-301-16/+25
| | | | | private_only and channel_only commands to share the same command string (commands.py)
* Support a way to check user channel access in a private commandGravatar jesopo2019-01-301-1/+2
| | | | (channel_access.py)
* Stop processing a command when we've decided the user doesn't have permissionGravatar jesopo2019-01-291-0/+1
| | | | (commands.py)
* 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
|