Rapptz
f2de794bde
Intern status and overwrite strings
5 years ago
Rapptz
23ae084b8c
Allow finer grained control over the member cache.
5 years ago
Rapptz
e6edc44f3d
Raise if member intent is not enabled
5 years ago
Rapptz
ad917ca02d
Don't cache members during guild start up if cache is disabled.
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.
5 years ago
Rapptz
cb8cb557f5
Add Guild.chunk and deprecated Client.request_offline_members
5 years ago
Rapptz
055fe76241
Fix Client.request_offline_members no longer working
5 years ago
Rapptz
e10942a9ee
Add versionadded for intents enum
5 years ago
Rapptz
bec34c1110
Explicitly disable the members presence by default
5 years ago
Rapptz
0ea0f483bc
Fix timeouts due to hitting the gateway rate limit
5 years ago
Rapptz
7db0008190
Maximize the amount of concurrency while chunking.
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.
5 years ago
Rapptz
6bae52f4bb
Check for zombie connections through last received payload
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.
5 years ago
Rapptz
0ec72660cf
Speed up chunking for guilds with presence intent enabled
5 years ago
Rapptz
92e1816114
Maximize concurrency when chunking on AutoSharded clients
5 years ago
Rapptz
af8fc32329
Use a lock for the gateway rate limiter.
This will allow for higher concurrency in AutoSharded situations where
I can mostly "fire and forget" the chunk requests.
5 years ago
Rapptz
5fe998ac19
Heartbeats bypass the rate limits for gateway
5 years ago
Rapptz
3df269daa3
All guilds require chunking if opting into it
5 years ago
Rapptz
c261f7c4a3
Handle user updates within GUILD_MEMBER_UPDATE
5 years ago
Rapptz
930761e058
Rewrite chunking to work with intents.
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.
5 years ago
Rapptz
ec7b8edcc2
Add more close codes that can't be handled for reconnecting.
5 years ago
Rapptz
11d8a6fa3c
Change unknown cache log warnings from WARNING -> DEBUG
5 years ago
Rapptz
e7db9cfdf7
Handle gateway rate limits by using a rate limiter.
With the new chunking changes this will become necessary and we don't
want to disconnect from having too many outwards requests.
5 years ago
Rapptz
a6381dcf77
Add support for guild intents
5 years ago
Rapptz
9036b9651b
Properly handle disconnects in voice when force disconnected
5 years ago
Josh
9830e0ed8a
Fix issues with VoiceProtocol docstrsings.
5 years ago
Rapptz
e3922e24d9
Correct some protocol errors in v4 of voice gateway
5 years ago
Rapptz
0b93fa3a82
Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
5 years ago
Michael
93fa46713a
Fix and add documentation
5 years ago
Sebastian Law
37c5c583f2
Add support for message_reference on Message object
5 years ago
Rapptz
ab5e175b25
Use quotes when installing in the README
Other shells have a hard time with square brackets.
Closes #5821
5 years ago
Tarek
7f17dc79a6
Remove namedtuples to better future guard the library
5 years ago
PikalaxALT
e7b4bbe2f6
Add bot.listen() suggestion to on_message faq
5 years ago
Xua
6ae615baae
Fix allowed_mentions when sending files
5 years ago
iDutchy
cc26499237
Add competing activity type
5 years ago
iomintz
8f105a441d
issue/PR templates: use h2 instead of h3
`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.
5 years ago
Rapptz
9978288346
Update issue template to redirect to discussions
5 years ago
Rapptz
aa258073dc
Add labels to the issue templates
5 years ago
Rapptz
a183c4f752
Completely update member references from message inner members.
Fixes #5819
5 years ago
Rapptz
986adae108
Revert "Add fetch_message_fast using history endpoint"
This reverts commit a309088ae4
.
A rate limited was added to this method after 5 years defeating the
purpose of it.
5 years ago
Duck
ddc4ad24f4
Add missing permission in clone documentation
5 years ago
Rapptz
4ccd9c1591
Remove caching from AutoShardedClient.shards
5 years ago
Rapptz
ccdf4c4ad6
[tasks] Lazily fetch event loop if one isn't provided
Fixes #5808
5 years ago
Rapptz
450e71f086
Add a more concrete exception for 500 status codes.
Fixes #5797
5 years ago
Rapptz
f8808dba9b
Guard uses of the keep alive thread in case they're None
Fixes #5800
5 years ago
Rapptz
e6017a2170
Handle cloudflare bans on webhook requests
Fixes #5221
5 years ago
Rapptz
425bb809ed
Add logging to webhooks
Fixes #5798
5 years ago
Dan Hess
a1a4a4fd7f
Fix comparison for overwrites when checking if a channel is synced
5 years ago
Dan Hess
7acec502a6
[commands] Correct command removing during cog injecting
5 years ago
Josh
f8a7d3fc54
[commands] Fix exception raised in Command invoke hooks.
5 years ago
rodovia
15f51113c3
Fix Member.joined_at documentation
5 years ago
BluePhoenixGame
4b18238ade
Add discord.Colour classmethod dark_theme
5 years ago