mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 05:52:05 +00:00
fix: always emit guildUnavailable when a guild becomes unavailable (#3975)
This commit is contained in:
parent
645e09e859
commit
215740157b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue