-
What is DiscordShrdedClient used for and how is it different from a simple DiscordClient? |
Beta Was this translation helpful? Give feedback.
Answered by
Plerx2493
Oct 19, 2023
Replies: 1 comment
-
If your bot is in a certain amount of guilds, you need to use multiple gateway sessions to handle the traffic and its required from discords side if your bot reaches 1000 guilds. The DiscordShardedClient manages this sharding process for you. https://dsharpplus.github.io/DSharpPlus/articles/beyond_basics/sharding.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Plerx2493
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If your bot is in a certain amount of guilds, you need to use multiple gateway sessions to handle the traffic and its required from discords side if your bot reaches 1000 guilds. The DiscordShardedClient manages this sharding process for you. https://dsharpplus.github.io/DSharpPlus/articles/beyond_basics/sharding.html