aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Provide a way to retrieve time left for a cooldown Dan Hess2020-08-052-1/+34
|
* [commands] Restart subcommand_passed chain on invokeRapptz2020-08-051-0/+2
| | | | Fix #5198
* Be defensive in case Discord breaks something with WS URLs againRapptz2020-08-051-0/+4
|
* Fix NameError and AttributeError in Template and IntegrationsXua2020-08-052-3/+4
|
* Require people to use templates when making an issueRapptz2020-08-051-0/+1
|
* Propagate manual close codes to socket subclassRapptz2020-08-052-7/+13
| | | | aiohttp seems to not set it during its state machine flow
* Fix endpoint strings with :443 instead of :80Rapptz2020-08-051-4/+5
| | | | | Fix #5191 Close #5188
* [tasks] Remove HTTPException as an exception to silently continue for Dan Hess2020-08-051-1/+0
|
* Fix gramatical error in Client guild_subscriptions docsJosh2020-08-041-1/+1
|
* Fix AttributeError when fetching reactions without cacheTyler North2020-08-011-1/+1
|
* Optimize Channel.permissions_for by not creating temporary objectsRapptz2020-08-011-11/+7
| | | | | | | | This seemed to have shaved a few microseconds: 10.8 µs ± 79.6 ns per loop → 8.53 µs ± 48.1 ns per loop 12 µs ± 613 ns per loop → 8.72 µs ± 30.2 ns per loop With 100K loops each
* Terminate shard processing queue when a clean close is encountered.Rapptz2020-08-011-0/+4
| | | | Fix #5180
* Fix typo when creating a guild via templateRiley S2020-07-311-1/+1
|
* Specify where to get max_members in documentationJaime Garcia Jr2020-07-311-1/+5
|
* Fix NameError with resolving codes with TemplateNadir Chowdhury2020-07-311-1/+1
|
* Fix AttributeError from internal queue being double underscore.Rapptz2020-07-251-11/+11
|
* Add an exposed way to extract shard-specific information.Rapptz2020-07-253-16/+104
| | | | Closes #2654
* Propagate exceptions when an unhandled error happensRapptz2020-07-251-0/+17
|
* Use a subclass rather than monkey-patching for the websocketjack11422020-07-252-10/+6
|
* Update message references in AutoShardedConnectionStateRapptz2020-07-252-0/+31
| | | | Fixes #5133
* Add guild_ready_timeout to control the timeout of GUILD_CREATE streamRapptz2020-07-252-4/+13
| | | | | | | This also fixes a timing issue where READY would take far too long to load for big bot authors. Closes #4112
* Add a timeout for receiving websocket messages.Rapptz2020-07-251-4/+8
|
* If we're out of retries just raise the OSErrorRapptz2020-07-251-3/+2
|
* Handle Connection Reset by Peer connection errors.Rapptz2020-07-254-78/+107
| | | | | | | | | | | | This should work both on Windows and on Linux. Apparently these types of blips are considered normal for Discord. So rather than letting the reconnect logic handler expect these to be catastrophic, it should handle it specially so it doesn't waste an IDENTIFY for what ultimately should just be a small networking blip. This also makes it less noisy for the end-user as these complaints happen from time to time.
* Add shard related connection and resume events.Rapptz2020-07-254-0/+41
| | | | | | | These include: * on_shard_resumed * on_shard_connect * on_shard_disconnect
* Handle connection errors during reidentify flow.Rapptz2020-07-251-5/+9
|
* Make every shard maintain its own reconnect loopRapptz2020-07-251-14/+70
| | | | | | | | | | | | Previously if a disconnect happened the client would get in a bad state and certain shards would be double sending due to unhandled exceptions raising back to Client.connect and causing all shards to be reconnected again. This new code overrides Client.connect to have more finer control and allow each individual shard to maintain its own reconnect loop and then serially request reconnection to ensure that IDENTIFYs are not overlapping.
* Add before_identify_hook to have finer control over IDENTIFY syncingRapptz2020-07-254-19/+57
|
* Fix READY not firing for multi-processed AutoShardedClient clustersRapptz2020-07-251-3/+2
|
* Fix voice websocket connectionsRapptz2020-07-252-5/+14
|
* Use a proper type for the event queueRapptz2020-07-251-15/+28
|
* Rewrite gateway to use aiohttp instead of websocketsRapptz2020-07-258-93/+98
|
* Fix AttributeError on reconnectionRapptz2020-07-251-4/+4
|
* Can't use %d in hereRapptz2020-07-251-3/+3
|
* Add shard ID to keep alive logger messagesRapptz2020-07-251-9/+9
|
* Rewrite of AutoShardedClient to prevent overlapping identifyRapptz2020-07-254-64/+72
| | | | This is experimental and I'm unsure if it actually works
* Add revisions to check_once docsJaime Garcia Jr2020-07-242-4/+6
|
* Add documentation on bot_check_onceJaime Garcia Jr2020-07-231-0/+4
|
* Add a changelog entry for v1.3.4Rapptz2020-07-221-0/+10
|
* Fix typo in on_socket_raw_send documentationAXVin2020-07-221-1/+1
|
* [commands] Add documentation for exceptions in Context.(re)invokeSebbyLaw2020-07-221-0/+10
|
* Add gray alias for discord.ColourSebbyLaw2020-07-221-0/+8
|
* [commands] GroupView.get_command shouldn't raise errors for empty namesjack11422020-07-221-0/+2
|
* Added exception documentation for Guild.create_voice_channelSkezza2020-07-221-0/+18
|
* Add double backticks for some parameter mentions in the documentation.Skezza2020-07-223-17/+17
|
* Add Guild.change_voice_state to control our voice state.jack11422020-07-221-0/+20
|
* Fix detection of some JPEG images without JFIF or Exif infoRapptz2020-07-211-1/+1
| | | | Closes #5143
* Don't use a namedtuple for _OverwritesRapptz2020-07-081-2/+16
| | | | Fix #5109
* Fix TypeError when not specifying roles.Tarek2020-07-081-2/+4
|
* [docs] fix reference to `Guild` and document `utils.resolve_template`NCPlayz2020-07-083-4/+21
|