Storage · Step
Top of a leaderboard
The best scores of a leaderboard, with medals, ready to post. The members come as a list too, to give rewards.
board.top
In a flow
“When a button is clicked, top of a leaderboard.”
/top → Top of a leaderboard weekly → Reply with As text.
What it does
The best scores of a leaderboard, with medals, ready to post. The members come as a list too, to give rewards. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 5 values later steps can use. Find it under Storage in the palette.
When to use it
Use it to keep something between runs: the best scores of a leaderboard, with medals, ready to post. The members come as a list too, to give rewards.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Leaderboard Text
-
Its name, like weekly or trivia.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses weekly.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
- Show Number
-
How many places.
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
Values it gives
- As text Text
-
One a line: medal, member, score. e.g. 🥇 @Sam 120
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 577 more
- Members List
-
Their IDs, best first. e.g. ["123"]
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
- Scores List
-
Their scores, in the same order. e.g. [120, 90]
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
- Winner Text
-
The first member's ID (empty when nobody has a score). e.g. 123
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 577 more
- On the board Number
-
How many members have a score. e.g. 40
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