Systems · Step
Levels leaderboard
The members with the most XP, most first: their places, levels and XP, for a /top card or a weekly reward.
levels.top
In a flow
“When a button is clicked, levels leaderboard.”
/top → Levels leaderboard → Reply with As lines.
What it does
The members with the most XP, most first: their places, levels and XP, for a /top card or a weekly reward. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 6 values later steps can use. Find it under Systems in the palette.
When to use it
Use it when that system is on in your server: the members with the most XP, most first: their places, levels and XP, for a /top card or a weekly reward.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- How many Number
-
1 to 25.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 10.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
- Skip the first Number
-
Start further down, like 10 for the second page of ten.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 0.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
Values it gives
- Members list:member
-
Each member on this page, most XP first. Loop over it with For each. e.g. [@Sam, @Alex]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- XP list:number
-
Each one's total XP, in the same order. e.g. [5400, 3100]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- Levels list:number
-
Each one's level, in the same order. e.g. [12, 9]
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more
- As lines Text
-
One line each: place, name, level and XP. e.g. 1. Sam · level 12 · 5,400 XP
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- How many Number
-
How many are on this page. e.g. 2
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more
- Members with XP Number
-
Everyone on the leaderboard. e.g. 140
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more