aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Expand)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 check•••(commands.py) Gravatar jesopo2019-01-301-5/+5
* Correctly check if we're in a channel command before checking if the current•••hook is valid (commands.py) Gravatar jesopo2019-01-301-6/+2
* 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 hook•••(commands.py) Gravatar jesopo2019-01-301-4/+4
* 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 for•••private_only and channel_only commands to share the same command string (commands.py) Gravatar jesopo2019-01-301-16/+25
* Support a way to check user channel access in a private command•••(channel_access.py) Gravatar jesopo2019-01-301-1/+2
* Stop processing a command when we've decided the user doesn't have permission•••(commands.py) Gravatar jesopo2019-01-291-0/+1
* 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 check•••(commands.py) Gravatar jesopo2019-01-281-5/+13
* 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` or•••`send.stderr` event is sent (commands.py) Gravatar jesopo2019-01-231-2/+4
* 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 both•••lists) to reuse the formatting code (commands.py) Gravatar jesopo2018-12-291-1/+3
* Remove an erroneous level of indentation that prevented the command being•••prepended to a usage string when only 1 usage string was available (commands.py) Gravatar jesopo2018-12-291-3/+4
* 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
* 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.py•••(preprocess.command) Gravatar jesopo2018-11-021-0/+5
* 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