Skip to content
Database getGuildLeaderboardLength

$getGuildLeaderboardLength — Returns the number of pages of the guild leaderboard of a variable.

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

Syntax

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

$getGuildLeaderboardLength[name;length;decimals] → result

Example

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