summary refs log tree commit diff
path: root/src/gateway/opcodes/LazyRequest.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:33:24 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-01-14 13:33:24 +0100
commit32b93c857f89283f276be5ae2e39c9d11c87fece (patch)
treedf7b4bcd0f375d06f2d5d4333f491680a0973cb6 /src/gateway/opcodes/LazyRequest.ts
parentMove isTextChannel to channel (diff)
downloadserver-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.ts2
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";