Database
getChannelLeaderboardLength
$getChannelLeaderboardLength — Returns the number of pages of the channel leaderboard of a variable.
Returns the number of pages of the channel leaderboard of a variable.
Syntax
$getChannelLeaderboardLength[name;(guildID);(length);(decimals)]
Parameters
- name (String, required) — Variable name
- guildID (String, optional) — Server ID (default current)
- length (Number, optional) — Entries per page (default 1)
- decimals (Boolean, optional) — Keep the decimals instead of rounding up
Return Value
- Number.
Usage
$getChannelLeaderboardLength[name;guildID;length;decimals] → result
Example
$sendMessage[$getChannelLeaderboardLength[name;guildID;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.