Opt out of guild creates at startup #5506
Unanswered
muddyfish
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When connecting to a shard, you receive a full list of guild create events. When you're on large bot scaling, that's a very large amount of bandwidth.
Sometimes you know in advance that you either won't need any guild creates, or otherwise a filter for ones you know you aren't caching currently.
I'd implement this by adding a
guild_denylist
attribute to theidentify
payload, and ignoring those guilds when sending the initial wave of creates. (A denylist rather than allowlist means you can keep receiving new guilds you hadn't joined before.)I estimate that with this change, I'd be able to startup 4-5 times faster, as I'm network limited during startup.
Beta Was this translation helpful? Give feedback.
All reactions