Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: always emit guildUnavailable if a guild became unavailable #3975
Please describe the changes this PR makes and why it should be merged:
Currently when an unavailable guild "becomes" unavailable it will be treated as a regular
This is because we only allow "available" guilds to become unavailable:
While this assumption seems sound, Discord seems to still emit such packets during outages (maybe for guilds that hit a presence limit too).
This PR will always treat guilds that became unavailable as such instead of treating them as "deleted" guilds.
This might also fix unexpected guildCreate events during / after outages as those guilds are still kept cached (as intended).
Semantic versioning classification: