v5.0.0
$globalUserLeaderboard
A global Leaderboard, with all Guilds.
This function returns a user leaderboard for a global user variable
1
$globalUserLeaderboard[variable;asc/dec (optional);{top} - {username} - {value}]
Copied!
asc - The values will be from greatest to least (top to bottom)
desc - The values will be from least to greatest (bottom to top)
{top} - Their leaderboard position (1./2./3./etc)
{username} - The users username
{value} - The users value of the given var
1
bot.command({
2
name: "topcash",
3
code: `
4
$globalUserLeaderboard[cash]
5
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub