User position on top for !points command

My suggestion is: when user using !points command, there will be additional parametr $position and $count, what will print position in users table ordered by points

Since we on typeorm i guess it’s easy.


User: !points
Bot: @user has currently 500 points. Your position in top: 1/3

User3: !points
Bot: @user has currently 400 points. Your position in top: 3/3

User2: !points
Bot: @user has currently 450 points . Your position in top: 2/3

username points
User 500
User2 450
User3 400

Suggested format: check examples what i typed below, like "pointsResponse": "$username has currently $amount $pointsName". Your position in top: $position/$usersCount

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.