Skip to content

Commit

Permalink
Merge pull request #86 from Nablox/patch-2
Browse files Browse the repository at this point in the history
Update userLeaderboard.md
  • Loading branch information
NervN authored Jan 21, 2024
2 parents 11fa8b1 + 4a755ea commit b35bd3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guide/Variables/userLeaderboard.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# $userLeaderboard
generate a leaderboard of a user variable and return it
Generates a leaderboard of a user variable and return it.

#### Usage: `$userLeaderboard[variable;asc/desc (optional);{top}.- {username} - {value};list (optional, max=40);page (optional)]`

Expand All @@ -17,8 +17,8 @@ Available Variables:
| {discriminator} | returns the discriminator like 1234 |

Order:
* `desc`: Rank is sorted from big to small numbers
* `asc`: Rank is sorted from small to big numbers
* `desc`: Will display all the top ranked member with the biggest numbers.
* `asc`: Will display all the bottom ranked member with the lowest numbers.

#### Example:
To use this function your uservar must have nummeric values .
Expand Down

0 comments on commit b35bd3e

Please sign in to comment.