mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +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 d = await endpoint.patch({ data: _data, reason });
|
||||||
|
|
||||||
const clone = this.cache.get(id)?._clone();
|
const clone = this.cache.get(id)?._clone();
|
||||||
clone?.patch(d);
|
clone?._patch(d);
|
||||||
return clone ?? this.add(d, false);
|
return clone ?? this.add(d, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user