diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:12:21 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-01-05 17:16:55 +1100 |
commit | a3f2f997a3ddfafdff19bd8911f7b610326c02d8 (patch) | |
tree | 7086d2a6971ed06c6d09cda6c277fb544c3c608d /src/gateway/opcodes/LazyRequest.ts | |
parent | channel flags whoops (diff) | |
download | server-a3f2f997a3ddfafdff19bd8911f7b610326c02d8.tar.xz |
Prettier
Diffstat (limited to 'src/gateway/opcodes/LazyRequest.ts')
-rw-r--r-- | src/gateway/opcodes/LazyRequest.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gateway/opcodes/LazyRequest.ts b/src/gateway/opcodes/LazyRequest.ts index e54f64a6..f5bee864 100644 --- a/src/gateway/opcodes/LazyRequest.ts +++ b/src/gateway/opcodes/LazyRequest.ts @@ -159,7 +159,11 @@ async function getMembers(guild_id: string, range: [number, number]) { groups, range, members: items - .map((x) => ("member" in x ? { ...x.member, settings: undefined } : undefined)) + .map((x) => + "member" in x + ? { ...x.member, settings: undefined } + : undefined, + ) .filter((x) => !!x), }; } |