parent
533c1c55a7
commit
8c6911143b
@ -22,6 +22,7 @@ class GuildMemberRemoveAction extends Action {
|
|||||||
*/
|
*/
|
||||||
if (shard.status === Status.READY) client.emit(Events.GUILD_MEMBER_REMOVE, member);
|
if (shard.status === Status.READY) client.emit(Events.GUILD_MEMBER_REMOVE, member);
|
||||||
}
|
}
|
||||||
|
guild.presences.cache.delete(data.user.id);
|
||||||
guild.voiceStates.cache.delete(data.user.id);
|
guild.voiceStates.cache.delete(data.user.id);
|
||||||
}
|
}
|
||||||
return { guild, member };
|
return { guild, member };
|
||||||
|
Loading…
Reference in New Issue
Block a user