|
|
@ -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}})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|