Whoops
This commit is contained in:
parent
3722abf0cb
commit
39c4ff8aa9
2
index.js
2
index.js
|
@ -172,7 +172,7 @@ client.on("interactionCreate", async interaction => {
|
|||
if (rows[i]) {
|
||||
let user = await client.users.fetch(rows[i].id);
|
||||
let lvl = rows[i].lvl;
|
||||
leaderboard.push(`${i + 1}. <@${user.id}> - ${rows[i].xp}/${eval(config.discord.levels.lvlUpEquation)}} L${rows[i].lvl} - ${rows[i].totalXp} XP - ${rows[i].msgCount} Messages`);
|
||||
leaderboard.push(`${i + 1}. <@${user.id}> - ${rows[i].xp}/${eval(config.discord.levels.lvlUpEquation)} L${rows[i].lvl} - ${rows[i].totalXp} XP - ${rows[i].msgCount} Messages`);
|
||||
}
|
||||
}
|
||||
interaction.reply({
|
||||
|
|
Loading…
Reference in a new issue