diff --git a/commands/100-games/leaderboard.js b/commands/100-games/leaderboard.js index eb9035f..66c2070 100644 --- a/commands/100-games/leaderboard.js +++ b/commands/100-games/leaderboard.js @@ -17,12 +17,16 @@ module.exports = { for (let i = 0; i < leaderboard.length; i++) { if (leaderboard[i].count > 0) { - let newLine = String.prototype.concat('#', (i + 1), ' \t', leaderboard[i].username, ' - ', leaderboard[i].count, ' games'); + let newLine = String.prototype.concat(leaderboard[i].username, ' - ', leaderboard[i].count, ' games'); + + const number = String.prototype.concat('**#', (i + 1), '** '); if (i == 0) newLine = String.prototype.concat('**', newLine, '**'); if (leaderboard[i].username == interaction.user.username) newLine = String.prototype.concat('*', newLine, '*'); + newLine = String.prototype.concat(number, newLine); + newLine = String.prototype.concat('\n', newLine); desc = String.prototype.concat(desc, newLine);