aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 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-stringGravatar jesopo2018-09-261-4/+6
| | | | denotation of multiple event hooks
* 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 ↵Gravatar dngfx2018-09-221-1/+2
| | | | and fix duck decoys.
* 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 weechatGravatar jesopo2018-09-191-2/+2
| | | | | | 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.
* Fix exception in commands.py any time anyone sends an empty orGravatar jesopo2018-09-191-1/+1
| | | | whitespace-prefixed PRIVMSG
* Fix highlight checking in commands.pyGravatar jesopo2018-09-171-3/+3
|
* Make commands be processed under received.message.* at PRIORITY_LOW, eat theGravatar jesopo2018-09-091-4/+6
| | | | event when it's done, change karma.py to use PRIORITY_MONITOR
* 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 ↵Gravatar dongfix2018-09-091-1/+9
| | | | | | 8ball <question>, based on the channel's prefix) Updated ducks.py, more efficient code and style tweaks.
* 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, toGravatar jesopo2018-09-021-4/+3
| | | | facilitate things like !set and !channelset without using the events system
* Give modules event objects with "context"s, to facilitate purging all the eventGravatar jesopo2018-08-311-20/+21
| | | | hooks for a module
* Change command.py to use call_limitedGravatar jesopo2018-08-281-3/+4
|
* Change how specific events assure their hooks gets the event independant ofGravatar jesopo2018-08-281-1/+1
| | | | loading order
* modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change loggingGravatar jesopo2018-08-281-4/+4
| | | | to be an object on the server object instead of an event call
* 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 forGravatar jesopo2018-07-141-7/+8
| | | | logging purposes
* 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 ↵Gravatar jesopo2017-10-271-0/+3
| | | | | | logic, add sed-sender-only setting Signed-off-by: jesopo <github@lolnerd.net>
* 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 ↵Gravatar jesopo2016-05-061-1/+1
| | | | settings being more important than server-wide settings.
* started passing some more helpful info when preprocessing a command.Gravatar jesopo2016-04-181-1/+2
|
* added command-prefix to channel settings.Gravatar jesopo2016-04-141-3/+8
|
* changed commands.py to show usage help (if available) when minimum arguments ↵Gravatar jesopo2016-04-101-2/+6
| | | | are not met.
* added usage help to a lot of modules, added a verbose option to karma.py.Gravatar jesopo2016-04-061-2/+3
|