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