aboutsummaryrefslogtreecommitdiff
path: root/modules/translate.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update translate.py"Gravatar jesopo2020-11-181-18/+17
| | | | This reverts commit eff99aff055c4312cde19841b30f4bd3d0131863.
* Update translate.pyGravatar dngfx2020-07-121-17/+18
| | | Uses the new google v2 translate service which is more accurate. Also reduces code ugliness by quite a bit.
* add "lstring" command spec; "last string" - explicit args or last messageGravatar jesopo2020-01-291-7/+2
|
* utils.http.Response.data should always be `bytes` - add .decode and .soupGravatar jesopo2019-11-261-3/+3
|
* utf8-decode translation dataGravatar jesopo2019-09-241-2/+2
|
* wider watch for failed translationGravatar jesopo2019-07-221-1/+1
|
* Add `depends-on` hashflags to relevant modulesGravatar jesopo2019-05-251-0/+2
|
* 'utils.http.get_url' -> 'utils.http.request', return a Response object fromGravatar jesopo2018-12-111-2/+3
| | | | utils.http.request
* Strip font from the last message in a channel before trying to translate itGravatar jesopo2018-11-141-1/+1
|
* Change all instances of stdout.write+return to `raise utils.EventError` inGravatar jesopo2018-10-161-2/+1
| | | | modules
* Mark command hooks that are aliases ('g' vs 'google')Gravatar jesopo2018-10-101-1/+2
|
* Move src/Utils.py in to src/utils/, splitting functionality out in to modules ofGravatar jesopo2018-10-031-3/+3
| | | | related functionality
* Switch to using docstring for usage, permission and require_modeGravatar jesopo2018-09-301-2/+4
|
* We don't need to explicitly pass "buffer" through on command eventsGravatar jesopo2018-09-301-1/+1
|
* Switch to using @Utils.hook and docstrings for event hooksGravatar jesopo2018-09-261-7/+6
|
* Move most code in root directory to src/Gravatar jesopo2018-09-241-1/+1
|
* Refactor everything to use delimited eventsGravatar jesopo2018-09-191-1/+1
|
* give an Exports object (actually, ExportsContex object) to each module, toGravatar jesopo2018-09-021-1/+1
| | | | 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-2/+2
| | | | hooks for a module
* modules/logging.py -> IRCLogging.py; IRCLog.py -> IRCBuffer.py; change loggingGravatar jesopo2018-08-281-1/+1
| | | | to be an object on the server object instead of an event call
* Allow translate source/target languages to be more than 2 charsGravatar jesopo2018-07-141-1/+1
|
* Fixed translate.pyGravatar jesopo2018-07-021-20/+19
|
* added usage help to a lot of modules, added a verbose option to karma.py.Gravatar jesopo2016-04-061-1/+1
|
* made commands work in channel AND in private message.Gravatar jesopo2016-03-291-1/+1
|
* first commit.Gravatar jesopo2016-03-291-0/+51