Fetch total guild's before all shards start? #6893
-
Is it possible to fetch the total guilds my bot is in before all shards have started? |
Beta Was this translation helpful? Give feedback.
Answered by
KinectTheUnknown
Dec 10, 2021
Replies: 2 comments 3 replies
-
As far as I know it should work like this
|
Beta Was this translation helpful? Give feedback.
3 replies
-
No, it’s not possible to obtain the number of guilds the bot is in before logging in. At most, you can make use of the GET /gateway/bot endpoint, which will give you the recommended number of shards to spawn. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Jiralite
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, it’s not possible to obtain the number of guilds the bot is in before logging in. At most, you can make use of the GET /gateway/bot endpoint, which will give you the recommended number of shards to spawn.