Channels · Step
Archive or lock thread
Archive, unarchive, lock or unlock a thread.
thread.set_state
In a flow
“When a button is clicked, archive or lock thread.”
Lock and archive the thread when it's solved.
What it does
Archive, unarchive, lock or unlock a thread. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Channels in the palette.
When to use it
Use it when the flow works with channels: archive, unarchive, lock or unlock a thread.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Thread Channel
-
The thread to change. Leave empty for here: where this happened, or the new place in an "In the new …" branch.
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