Open reticivis-net opened 2 years ago
It would be nice if we could set guild and shard count. Honestly, it’s easier to just do manual posting to bot block if you’re a larger bot especially if you don’t use dpy sharding/use custom launchers etc
If you're doing manual posting, just make the API call to BotBlock yourself. All this lib does is handle wrapping d.py to do that call for you.
https://discord.readthedocs.io/en/master/api.html#discord.Client
guild_ready_timeout is documented as
The maximum number of seconds to wait for the GUILD_CREATE stream to end before preparing the member cache and firing READY.
It defaults to 2 seconds, which means for very large bots (such as my own), on_ready can fire before the bot has all of the guilds and therefore will cause discordlists to report the wrong (and often much lower) guild count to the APIs.maybe just mention this in the readme or setup guides? it might also be possible to use some of the code from
_delay_ready()
to ignore on_ready and wait for all guilds to be ready but I'm not sure how