Database
getChannelLeaderboardID
$getChannelLeaderboardID — Returns the ID of the channel at a position of the leaderboard of a variable.
Returns the ID of the channel at a position of the leaderboard of a variable.
Syntax
$getChannelLeaderboardID[name;sortType;position;(guildID)]
Parameters
- name (String, required) — Variable name
- sortType (String, required) — asc or desc (default desc)
- position (Number, required) — Position, from 1
- guildID (String, optional) — Server ID (default current)
Return Value
- String.
Usage
$getChannelLeaderboardID[name;sortType;position;guildID] → result
Example
$sendMessage[$getChannelLeaderboardID[name;sortType;position;guildID]]
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.