mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
Prevent Guild.fetchMember from messing with fetchMembers
This commit is contained in:
@@ -2,8 +2,7 @@ const Action = require('./Action');
|
||||
|
||||
class GuildMemberGetAction extends Action {
|
||||
handle(guild, data) {
|
||||
const client = this.client;
|
||||
const member = client.dataManager.newGuildMember(guild, data);
|
||||
const member = guild._addMember(data, false);
|
||||
return {
|
||||
member,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user