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 | 2ccfd82de73359de92793863342cc69b3e0ebf7e (patch) | |
tree | ecf4cd78eeadea1d44e0180c882fe1cec52d8b5f | |
parent | whoops (diff) | |
download | server-2ccfd82de73359de92793863342cc69b3e0ebf7e.tar.xz |
Remove user settings from GUILD_MEMBER_LIST_UPDATE response
-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), }; } |