From 55d8df5f28a9ee95daa12c21ce7695ca43b2bfa4 Mon Sep 17 00:00:00 2001 From: suhas Date: Sun, 12 Mar 2023 23:49:37 -0500 Subject: [PATCH] idk --- src/commands/leaderboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/leaderboard.ts b/src/commands/leaderboard.ts index 9cefb55..adbbb34 100644 --- a/src/commands/leaderboard.ts +++ b/src/commands/leaderboard.ts @@ -19,7 +19,7 @@ export default class LeaderboardCommand extends SlashCommand { }) let st = '' for (const u of users) { - let uu = await this.client.users.fetch(u.id) + const uu = await this.client.users.fetch(u.id) st += `${uu.username}#${uu.discriminator} - ${u.messages} message(s)\n` } return st