aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly *remove* STS policy when we get a duration of 0Gravatar jesopo2018-11-051-5/+9
|
* `info` does not exist in on_cap_new context in modules/sts.pyGravatar jesopo2018-11-051-0/+2
|
* One-shot STS policies should still be cleared if a reconnect failsGravatar jesopo2018-11-051-13/+10
|
* Made STS policies one-shot when upgrading from plaintext to tlsGravatar jesopo2018-11-051-4/+11
|
* `duration` does not exist in the context of _change_durationGravatar jesopo2018-11-051-1/+1
|
* Add support for IRCv3's STSGravatar jesopo2018-11-051-0/+46
|
* Give Logging.Log object to modulesGravatar jesopo2018-11-051-2/+4
|
* I forgot the "normal" event hook syntax!Gravatar jesopo2018-11-051-1/+1
|
* 'self.events' -> 'self._events' in IRCBotGravatar jesopo2018-11-051-1/+1
|
* Cache socket fileno in IRCServer.Server just before disconnectingGravatar jesopo2018-11-051-1/+3
|
* @utils.hook doesn't work outside of modules!Gravatar jesopo2018-11-051-5/+8
|
* it should be self.bindhost, now that we've moved the logic to .connect() insteadGravatar jesopo2018-11-051-2/+3
| | | | of __init__
* Typo in src/IRCServer.py; 'self.AF_INET' -> 'socket.AF_INET'Gravatar jesopo2018-11-051-1/+1
|
* Update modules/scripts.py to use utils.parse.hashflags instead ofGravatar jesopo2018-11-051-1/+1
| | | | utils.get_hashflags
* Clarify `items` and `var_items` typing in src.utils.parseGravatar jesopo2018-11-051-3/+4
|
* Add src.utils.parse.keyvalue, mostly for IRCv3 CAP negotiationGravatar jesopo2018-11-052-8/+11
|
* Refactor IRCServer .connect() logicGravatar jesopo2018-11-052-22/+15
|
* Fix a crash in modules/line_handler.py; QUIT can have an empty reason!Gravatar jesopo2018-11-051-1/+1
|
* Add __repr__ to utils.irc.IRCArgsGravatar jesopo2018-11-051-0/+2
|
* Don't set `args` to a split of the data left over when parsing out a command ifGravatar jesopo2018-11-041-2/+5
| | | | there's not a space after the command
* Implement utils.irc.IRCArgs.__len__Gravatar jesopo2018-11-041-2/+7
|
* Fix typo in utils.irc, 'self_args' -> 'self._args'Gravatar jesopo2018-11-041-1/+1
|
* Move definition of IRCArgs above IRCLineGravatar jesopo2018-11-041-8/+8
|
* Fix typo in utils.ircGravatar jesopo2018-11-041-1/+1
|
* Change line parsing to put arbitrary-length args on the end ofGravatar jesopo2018-11-042-33/+40
| | | | | `args` so we can get rid of `last`/`arbitrary` and add IRCArgs (with .get()) to help only getting an arg index if it exists
* Implement IRCv3's `draft/rename`Gravatar jesopo2018-11-042-1/+18
|
* utils.irc.color should take `int` for foreground/background, not strGravatar jesopo2018-11-021-1/+1
|
* Show wallet balances in a human format (with ","s)Gravatar jesopo2018-11-021-1/+1
|
* Don't let users bet 0 coinsGravatar jesopo2018-11-021-3/+6
|
* Show !coins in a human format (with ","s)Gravatar jesopo2018-11-021-1/+1
|
* Add src/__init__.py to allow mypy to see src/ as a moduleGravatar jesopo2018-11-021-0/+0
|
* Add a way to silently stop commands executing in modules/commands.pyGravatar jesopo2018-11-021-0/+5
| | | | (preprocess.command)
* serverset identity-mechanism should be in modules/permissions.pyGravatar jesopo2018-11-022-2/+2
|
* Check if a url is a gallery first, 'event' -> 'data' typo, actually return fromGravatar jesopo2018-10-311-8/+11
| | | | _prefix
* Use gallery API endpoint for gallery urlsGravatar jesopo2018-10-311-1/+3
|
* Support galleries in modules/imgur.pyGravatar jesopo2018-10-311-4/+30
|
* Comma-delimit numbers in the !richest responseGravatar jesopo2018-10-311-1/+3
|
* Add '.mypy_cache/' to .gitignoreGravatar jesopo2018-10-311-0/+3
|
* imgur url hashids aren't always 7 charactersGravatar jesopo2018-10-311-1/+1
|
* Fix typo in modules/imgur.py that caused `headers` passed to utils.http.get_urlGravatar jesopo2018-10-311-1/+1
| | | | to be a set, not a dict. (',' -> ':')
* REGEX_IMAGE should be a compiled regex!Gravatar jesopo2018-10-311-1/+2
|
* Add first version of modules/imgur.pyGravatar jesopo2018-10-312-0/+39
|
* Fix some non-explicit None returns, add type hints to important variablesGravatar jesopo2018-10-316-17/+23
|
* Move setting BitBotFormatter's converter (to time.gmtime) to class definition asGravatar jesopo2018-10-301-1/+1
| | | | it's not technically correct to overwrite a funcion on an existing object
* Update modules/line_handler.py to now not pass a `server` param toGravatar jesopo2018-10-301-6/+7
| | | | utils.irc.parse_line
* Fix/refactor issues brought up by type hint lintingGravatar jesopo2018-10-3013-59/+73
|
* Typo in src/Exports; 'self_exports' -> 'self.exports'Gravatar jesopo2018-10-301-1/+1
|
* Add type/return hints throughout src/ and, in doing so, fix some cyclicalGravatar jesopo2018-10-3022-516/+605
| | | | references.
* Don't needlessly search a youtube URL before getting the information for it'sGravatar jesopo2018-10-291-1/+6
| | | | video ID when a URL is provided to !yt
* 'continue' -> 'return' in moules/badwords.pyGravatar jesopo2018-10-281-1/+1
|