aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Raise if member intent is not enabledRapptz2020-09-231-0/+9
|
* Don't cache members during guild start up if cache is disabled.Rapptz2020-09-231-1/+4
| | | | | | | This is mainly a half-implemented commit. There are a few more places where cache consistency is necessary. In the future there will probably be a member cache policy enum that will be used and cache consistency will be tackled in part of that larger refactoring.
* Add Guild.chunk and deprecated Client.request_offline_membersRapptz2020-09-234-32/+57
|
* Fix Client.request_offline_members no longer workingRapptz2020-09-232-8/+17
|
* Add versionadded for intents enumRapptz2020-09-231-0/+2
|
* Explicitly disable the members presence by defaultRapptz2020-09-231-4/+11
|
* Fix timeouts due to hitting the gateway rate limitRapptz2020-09-231-2/+2
|
* Maximize the amount of concurrency while chunking.Rapptz2020-09-231-1/+13
| | | | | | In order to reduce our amount of backpressure we need to limit the amount of concurrent chunk requests we can have so the gateway buffer has some time to breathe.
* Check for zombie connections through last received payloadRapptz2020-09-231-1/+9
| | | | | | | The previous code would check zombie connections depending on whether HEARTBEAT_ACK was received. Unfortunately when there's exceeding backpressure the connection can terminate since the HEARTBEAT_ACK is buffered very far away despite it being there, just not received yet.
* Speed up chunking for guilds with presence intent enabledRapptz2020-09-231-3/+8
|
* Maximize concurrency when chunking on AutoSharded clientsRapptz2020-09-231-21/+45
|
* Use a lock for the gateway rate limiter.Rapptz2020-09-231-5/+12
| | | | | This will allow for higher concurrency in AutoSharded situations where I can mostly "fire and forget" the chunk requests.
* Heartbeats bypass the rate limits for gatewayRapptz2020-09-231-3/+14
|
* All guilds require chunking if opting into itRapptz2020-09-231-6/+3
|
* Handle user updates within GUILD_MEMBER_UPDATERapptz2020-09-232-10/+17
|
* Rewrite chunking to work with intents.Rapptz2020-09-233-174/+91
| | | | | | | | This slows down chunking significantly for bots in a large number of guilds since it goes down from 75 guilds/request to 1 guild/request. However the logic was rewritten to fire the chunking request immediately after receiving the GUILD_CREATE rather than waiting for all the guilds in the ready stream before doing it.
* Add more close codes that can't be handled for reconnecting.Rapptz2020-09-231-1/+1
|
* Change unknown cache log warnings from WARNING -> DEBUGRapptz2020-09-231-19/+19
|
* Handle gateway rate limits by using a rate limiter.Rapptz2020-09-231-0/+31
| | | | | With the new chunking changes this will become necessary and we don't want to disconnect from having too many outwards requests.
* Add support for guild intentsRapptz2020-09-234-1/+331
|
* Properly handle disconnects in voice when force disconnectedRapptz2020-09-231-3/+7
|
* Fix issues with VoiceProtocol docstrsings. Josh2020-09-231-4/+6
|
* Correct some protocol errors in v4 of voice gatewayRapptz2020-09-232-13/+16
|
* Implement VoiceProtocol lower level hooks.Rapptz2020-09-239-106/+230
| | | | | This allows changing the connect flow and taking control of it without relying on internal events or tricks.
* Fix and add documentationMichael2020-09-2315-29/+97
|
* Add support for message_reference on Message objectSebastian Law2020-09-233-2/+48
|
* Use quotes when installing in the READMERapptz2020-09-211-1/+1
| | | | | | Other shells have a hard time with square brackets. Closes #5821
* Remove namedtuples to better future guard the libraryTarek2020-09-214-11/+28
|
* Add bot.listen() suggestion to on_message faq PikalaxALT2020-09-201-0/+9
|
* Fix allowed_mentions when sending files Xua2020-09-201-1/+1
|
* Add competing activity typeiDutchy2020-09-202-0/+6
|
* issue/PR templates: use h2 instead of h3iomintz2020-09-183-12/+12
| | | | | `h2` is the semantically correct heading here, as `h1` is for document titles and `h2` is for the top level headings within a document. `h3` should be used for subheadings of `h2` headings.
* Update issue template to redirect to discussionsRapptz2020-09-181-2/+5
|
* Add labels to the issue templatesRapptz2020-09-172-0/+2
|
* Completely update member references from message inner members.Rapptz2020-09-172-3/+8
| | | | Fixes #5819
* Revert "Add fetch_message_fast using history endpoint"Rapptz2020-09-141-37/+0
| | | | | | | This reverts commit a309088ae4be7c2e837e5d180822c0f9060fe86d. A rate limited was added to this method after 5 years defeating the purpose of it.
* Add missing permission in clone documentationDuck2020-09-111-0/+3
|
* Remove caching from AutoShardedClient.shardsRapptz2020-09-101-1/+1
|
* [tasks] Lazily fetch event loop if one isn't providedRapptz2020-09-101-1/+4
| | | | Fixes #5808
* Add a more concrete exception for 500 status codes.Rapptz2020-09-094-4/+24
| | | | Fixes #5797
* Guard uses of the keep alive thread in case they're NoneRapptz2020-09-091-3/+5
| | | | Fixes #5800
* Handle cloudflare bans on webhook requestsRapptz2020-09-091-0/+8
| | | | Fixes #5221
* Add logging to webhooksRapptz2020-09-091-10/+23
| | | | Fixes #5798
* Fix comparison for overwrites when checking if a channel is synced Dan Hess2020-09-091-1/+1
|
* [commands] Correct command removing during cog injectingDan Hess2020-09-091-1/+1
|
* [commands] Fix exception raised in Command invoke hooks.Josh2020-09-091-19/+11
|
* Fix Member.joined_at documentationrodovia2020-09-091-2/+2
|
* Add discord.Colour classmethod dark_themeBluePhoenixGame2020-09-091-0/+9
|
* Add fetch_message_fast using history endpointkhazhyk2020-09-071-0/+37
|
* [commands] Update Bot.command() decorator docsSkye Im2020-09-071-0/+5
|