$chatLeaderBoard
This will return the position of chats
Parameters
| Field | Description |
|---|---|
| variable | Variable name |
| typeLeader | In which order it will be returned 1. asc (ascending / default) 2. dsc (descending) |
| custom | Formatting (optional) |
| list | How many to list (optional) |
Options
topidtitletypevaluedescriptioninvite_link
Examples
<AoiClient>.addCommand({
name: "chatLeaderBoard",
code: `
$sendMessage[$chatLeaderBoard[examples;;{top}. {title} - {value} ⏳️\n;10]]
`,
});