fix: typo in GuildMemberManager (#5616)

This commit is contained in:
monbrey
2021-05-13 01:51:50 +10:00
committed by GitHub
parent f831872125
commit 73f4114f59

View File

@@ -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);
}