diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 13:33:24 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-01-14 13:33:24 +0100 |
commit | 32b93c857f89283f276be5ae2e39c9d11c87fece (patch) | |
tree | df7b4bcd0f375d06f2d5d4333f491680a0973cb6 /src/gateway/opcodes/LazyRequest.ts | |
parent | Move isTextChannel to channel (diff) | |
download | server-32b93c857f89283f276be5ae2e39c9d11c87fece.tar.xz |
var -> let
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
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 a3bac6e9..9a449abe 100644 --- a/src/gateway/opcodes/LazyRequest.ts +++ b/src/gateway/opcodes/LazyRequest.ts @@ -108,7 +108,7 @@ async function getMembers(guild_id: string, range: [number, number]) { (a.activities.length - b.activities.length) * 2 ); }); - var session: Session | undefined = sessions.first(); + let session: Session | undefined = sessions.first(); if (session?.status == "offline") { session.status = member?.user?.settings?.status || "online"; |