suhas 2 years ago
parent c46c1f6c01
commit 9e2ad127b6

@ -18,9 +18,8 @@ export default class LeaderboardCommand extends SlashCommand {
}) })
let st = '' let st = ''
for (const u of users) { for (const u of users) {
const uu = await this.client.users.fetch(u.id) st += `<@${u.id}> - ${u.messages} message(s)\n`
st += `${uu.username}#${uu.discriminator} - ${u.messages} message(s)\n`
} }
return st ctx.send(st, {allowedMentions: {everyone: false, roles: false, users: false}})
} }
} }

Loading…
Cancel
Save