diff options
Diffstat (limited to 'src/gateway/opcodes/LazyRequest.ts')
-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 f5bee864..a3bac6e9 100644 --- a/src/gateway/opcodes/LazyRequest.ts +++ b/src/gateway/opcodes/LazyRequest.ts @@ -111,7 +111,7 @@ async function getMembers(guild_id: string, range: [number, number]) { var session: Session | undefined = sessions.first(); if (session?.status == "offline") { - session.status = member.user.settings.status || "online"; + session.status = member?.user?.settings?.status || "online"; } const item = { |