Sign In

$channelLeaderboard[]

Creates a leaderboard specific to channels based on a variable.

v2.0.0+ Requires Brackets

Usage

$channelLeaderboard[;;;;;;;;]

Arguments

NameTypeRequiredDescription
name
StringYesThe name of the variable used to create the leaderboard.
guild ID
GuildNoThe unique identifier of the guild for which you want to retrieve channel variables.
sort type
NoThe sorting order for the leaderboard, either ascending (asc) or descending (desc).
max
NumberNoThe maximum number of entries to display per page on the leaderboard.
page
NumberNoThe specific page number of the leaderboard you wish to view.
separator
StringNoThe separator to be utilized between each row in the leaderboard.
envValue
StringNoThe variable name to employ for $env, facilitating the retrieval of identifiers and values using $env[<name>;id] and $env[<name>;value] respectively.
envPosition
StringNoThe variable name utilized for $env to acquire the position using $env[<name>].
code
StringNoCode executed for each row. Remember to use $return, otherwise it will not return anything.

Output

String

Was this page helpful?