Channels · Step
List threads
The open threads in a channel or the whole server.
thread.list
In a flow
“When a button is clicked, list threads.”
/threads → List threads → Reply with As text.
What it does
The open threads in a channel or the whole server. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 3 values later steps can use. Find it under Channels in the palette.
When to use it
Use it when the flow works with channels: the open threads in a channel or the whole server.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- In channel Channel
-
Only threads in this channel or forum. Empty is every channel.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
Values it gives
- Threads list:channel
-
The threads, each usable as a channel. e.g. [{"id": "123…", "name": "help with redstone"}]
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 text Text
-
Them as mentions. e.g. #help with redstone
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. e.g. 4
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 719 more