aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Fix highlight checking in commands.pyGravatar jesopo2018-09-171-3/+3
* Make commands be processed under received.message.* at PRIORITY_LOW, eat the•••event when it's done, change karma.py to use PRIORITY_MONITOR Gravatar jesopo2018-09-091-4/+6
* Utilise !serverset in more modulesGravatar jesopo2018-09-091-0/+2
* Add !serverset and !servergetGravatar jesopo2018-09-091-3/+5
* Better indentation in commands.pyGravatar jesopo2018-09-091-9/+3
* Fix a few nigglesGravatar dngfx2018-09-091-1/+5
* FONT_RESET should be FONT_COLOR, also more string wizardry in ducks.py!Gravatar dngfx2018-09-091-2/+2
* Add channel prefix to .usage (So it shows .8ball <question> instead of just 8...•••Updated ducks.py, more efficient code and style tweaks. Gravatar dongfix2018-09-091-1/+9
* Don't strip out empty arguments on commands.pyGravatar jesopo2018-09-061-1/+1
* Add !ignore and !unignore in commands.pyGravatar jesopo2018-09-061-10/+35
* Send message-tags through PRIVMSG, NOTICE and !commandsGravatar jesopo2018-09-031-2/+3
* give an Exports object (actually, ExportsContex object) to each module, to•••facilitate things like !set and !channelset without using the events system Gravatar jesopo2018-09-021-4/+3
* Give modules event objects with "context"s, to facilitate purging all the event•••hooks for a module Gravatar jesopo2018-08-311-20/+21
* Change command.py to use call_limitedGravatar jesopo2018-08-281-3/+4
* Change how specific events assure their hooks gets the event independant of•••loading order Gravatar jesopo2018-08-281-1/+1
* modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change logging•••to be an object on the server object instead of an event call Gravatar jesopo2018-08-281-4/+4
* also empty command stdout when there's no !moreGravatar jesopo2018-08-051-0/+2
* skip !more's out/err, added a way to split messages from their prefixes for•••logging purposes Gravatar jesopo2018-07-141-7/+8
* Added a "replay" system to EventManager hooks, to replay missed .callsGravatar jesopo2017-12-261-6/+5
* Handle empty CAP, additional IRCLog feature, better tls, better channel_save ...•••Signed-off-by: jesopo <github@lolnerd.net> Gravatar jesopo2017-10-271-0/+3
* Reset font just before "(more)" truncation.Gravatar jesopo2016-12-051-1/+1
* added a function to Utils to get the "closest" setting, with channel/user set...Gravatar jesopo2016-05-061-1/+1