Database
getUserLeaderboardLength
$getUserLeaderboardLength — Returns the number of pages of the user leaderboard of a variable.
Returns the number of pages of the user leaderboard of a variable.
Syntax
$getUserLeaderboardLength[name;(length);(decimals)]
Parameters
- name (String, required) — Variable name
- length (Number, optional) — Entries per page (default 1)
- decimals (Boolean, optional) — Keep the decimals instead of rounding up
Return Value
- Number.
Usage
$getUserLeaderboardLength[name;length;decimals] → result
Example
$sendMessage[$getUserLeaderboardLength[name;length;decimals]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.