Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement proper shard count retrieval #165

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

NycroV
Copy link
Collaborator

@NycroV NycroV commented Jul 19, 2024

This PR correctly accesses the real number of connected shards, rather than using Discord's recommended count.

In the event that a shard count is un-retrievable, such as when the user implements their own shard orchestrator, the Discord recommendation is used as a fallback.

@angelobreuer angelobreuer added the enhancement New feature or request label Jul 22, 2024
@angelobreuer
Copy link
Owner

Thanks!

@angelobreuer angelobreuer merged commit cf979d6 into angelobreuer:dev Jul 22, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants