diff --git a/src/commands/leaderboard.ts b/src/commands/leaderboard.ts index 01749b1..3cde65d 100644 --- a/src/commands/leaderboard.ts +++ b/src/commands/leaderboard.ts @@ -18,9 +18,8 @@ export default class LeaderboardCommand extends SlashCommand { }) let st = '' for (const u of users) { - const uu = await this.client.users.fetch(u.id) - st += `${uu.username}#${uu.discriminator} - ${u.messages} message(s)\n` + st += `<@${u.id}> - ${u.messages} message(s)\n` } - return st + ctx.send(st, {allowedMentions: {everyone: false, roles: false, users: false}}) } }