mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +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 (channel.type === 'text') channel.stopTyping(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (guild.available && data.unavailable) {
|
if (data.unavailable) {
|
||||||
// Guild is unavailable
|
// Guild is unavailable
|
||||||
guild.available = false;
|
guild.available = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user