diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 18:11:01 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 18:11:01 +1000 |
commit | 2517c472e8784d2f845dcf97e0c1aa1bcf54b876 (patch) | |
tree | 0811c45e589b3d9b3c86ffcd0c71062e4093b30d /src | |
parent | whoops (diff) | |
download | server-2517c472e8784d2f845dcf97e0c1aa1bcf54b876.tar.xz |
Remove user settings from GUILD_MEMBER_LIST_UPDATE response
Diffstat (limited to 'src')
-rw-r--r-- | src/gateway/opcodes/LazyRequest.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/LazyRequest.ts b/src/gateway/opcodes/LazyRequest.ts index f5bbad14..69952c7f 100644 --- a/src/gateway/opcodes/LazyRequest.ts +++ b/src/gateway/opcodes/LazyRequest.ts @@ -159,7 +159,7 @@ async function getMembers(guild_id: string, range: [number, number]) { groups, range, members: items - .map((x) => ("member" in x ? x.member : undefined)) + .map((x) => ("member" in x ? { ...x.member, settings: undefined } : undefined)) .filter((x) => !!x), }; } |