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

Bot connects, but can't resolve the guild due to it being too large #335

Closed
ThatGuyJustin opened this issue Aug 12, 2019 · 4 comments
Closed

Comments

@ThatGuyJustin
Copy link

With how discord is handling the ready event from the gateway, large guilds take longer to resolve and therefore the bot is unable to find it when it fires the getInboxGuild function.

The guild has 200k+ members, so it makes sense it would take a bit for the API to fire off the guildCreate event for it.

Only Error when the bot connects and is awaiting DMs: Error: The bot is not on the modmail (inbox) server!

I'm unsure of a way to personally fix it myself or I would have.

@sporkwitch
Copy link
Contributor

sporkwitch commented Aug 13, 2019 via email

@ThatGuyJustin
Copy link
Author

The guild in question is the only server the bot is in.

@Dragory
Copy link
Owner

Dragory commented Aug 13, 2019

I published version v2.26.0 which should wait until all guilds have become available before initializing the bot. Can you give it a try?

@ThatGuyJustin
Copy link
Author

Yes, it works! Thank you for pushing an update in such a short amount of time. I'll let you know if any other issues arise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants