$getLeaderboardInfo
$getLeaderboardInfo
will return information about a given variable sorted in a leaderboard.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
variable | string | Variable name. | true |
id | number | User/guild/channel/message ID. | true |
type | string | Variable type 1. global 2. guild (default) 3. channel 4. message | true |
option | string | Option to return 1. top 2. value 3. tag 4. username | true |
table? | string | The database table to search in. | false |
Example(s)
This will return the position of the current guild: