aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules of•••related functionality Gravatar jesopo2018-10-031-20/+22
* 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 to•••modules/commands.py to reply to specific messages by use of msgids Gravatar jesopo2018-10-011-5/+17
* 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 on•••specific function calls (e.g. preprocess.command) Gravatar jesopo2018-10-011-2/+2
* 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
* Support command hooks not coming from a class instanceGravatar jesopo2018-09-291-1/+3
* Move all exports to @Utils.export callsGravatar jesopo2018-09-271-12/+8
* Switch to using @Utils.hook and docstrings for event hooksGravatar jesopo2018-09-261-23/+29
* Also use docstrings to check if a command has help available, allow one-string•••denotation of multiple event hooks Gravatar jesopo2018-09-261-4/+6
* Support using docstrings as command helpGravatar jesopo2018-09-261-2/+6
* Move most code in root directory to src/Gravatar jesopo2018-09-241-1/+1
* font reset at the beginning of commands to stop wonkiness with highlighting a...Gravatar dngfx2018-09-221-1/+2
* Change Utils.color to take a string to wrap in colorGravatar jesopo2018-09-211-4/+2
* Refactor everything to use delimited eventsGravatar jesopo2018-09-191-9/+9
* Send a FONT_RESET (\x0F) after stderr module names because a bug in weechat•••pre-2.2 means that because red colors are displayed as red+bold, the second FONT_COLOR (\x03) only resets the red coloring, not the bold, meaning the rest of the line is bold. Gravatar jesopo2018-09-191-2/+2
* Fix exception in commands.py any time anyone sends an empty or•••whitespace-prefixed PRIVMSG Gravatar jesopo2018-09-191-1/+1