aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Document raises for Converter.convertJames2020-07-081-0/+8
|
* Add a licence and encoding declaration to missing filesJames2020-07-082-0/+52
|
* Allow more methods to set an audit log reasonNadir Chowdhury2020-06-304-23/+59
|
* Allow Webhook to be hashable and comparableZnunu2020-06-301-1/+19
|
* Documentation formattingSkezza2020-06-309-11/+11
|
* Fix typo with voice_client documentationSkezza2020-06-301-1/+1
|
* [bugs] stop resolving Object for template/invite; remove dupe methodsNCPlayz2020-06-294-61/+18
|
* Add support for bulk editing role positionsNadir Chowdhury2020-06-281-0/+66
|
* Add support for integrationsNadir Chowdhury2020-06-286-1/+369
|
* Add support for Discord templatesNadir Chowdhury2020-06-286-2/+205
|
* [commands] Raise TypeError when Optional is used with Greedy converterSebastian Law2020-06-282-2/+6
|
* [tasks] Fix issue with default error handler in class contextJosh2020-06-281-1/+2
|
* [commands] Add a new exception class for command registration errorsjack11422020-06-283-5/+35
|
* Fix various inconsistencies within the documentation (#5067)Sebastian Law2020-06-2824-142/+378
|
* Fix a KeyError for channels with no category in Guild.by_categoryRapptz2020-06-271-1/+4
|
* Fix Guild.by_category not showing empty categories.Rapptz2020-06-271-2/+3
|
* Update Message.system_content join strings to be up to date.Rapptz2020-06-271-37/+11
| | | | Fixes #4211