mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
fix: typo in GuildMemberManager (#5616)
This commit is contained in:
@@ -187,7 +187,7 @@ class GuildMemberManager extends BaseManager {
|
||||
const d = await endpoint.patch({ data: _data, reason });
|
||||
|
||||
const clone = this.cache.get(id)?._clone();
|
||||
clone?.patch(d);
|
||||
clone?._patch(d);
|
||||
return clone ?? this.add(d, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user