python-discord / sir-robin

Our event bot, for managing community events.
MIT License
18 stars 14 forks source link

AoC: put specified user within the top 10 leaderboard if user is in the top 10 #107

Open n0Oo0Oo0b opened 11 months ago

n0Oo0Oo0b commented 11 months ago

Currently, when someone in the top 10 runs &aoc lb, their score gets moved to the top of the leaderboard:

image

I think it would make more sense for it to show up in the respective location within the top 10 instead.

It may also be worth considering displaying users outside the top 10 at the bottom, along with the users placed immediately before and after the user, like so:

     | Name                      | Score | ⭐, ⭐⭐
--------------------------------------------------
   1 | [top 10 users as usual]
   2 | ...
--------------------------------------------------
  20 | [another user]
  21 | (You) [invoking user]
  22 | [another user]