Skip to content
Database getMemberLeaderboardLength

$getMemberLeaderboardLength — Returns the number of pages of the member leaderboard of a variable.

Returns the number of pages of the member leaderboard of a variable.

Syntax

$getMemberLeaderboardLength[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

$getMemberLeaderboardLength[name;guildID;length;decimals] → result

Example

$sendMessage[$getMemberLeaderboardLength[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.