mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: always emit guildUnavailable when a guild becomes unavailable (#3975)
This commit is contained in:
@@ -18,7 +18,7 @@ class GuildDeleteAction extends Action {
|
||||
if (channel.type === 'text') channel.stopTyping(true);
|
||||
}
|
||||
|
||||
if (guild.available && data.unavailable) {
|
||||
if (data.unavailable) {
|
||||
// Guild is unavailable
|
||||
guild.available = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user