Flow reference: Server Management
Lock Thread
Lock or unlock a thread.
Lock or unlock a thread.
When and how to use it
Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.
Configuration fields
Thread (blank = current) — channel
Choose the channel this block targets or filters. Use its Discord ID or a supported channel variable. Check channel overrides for the bot.
Input: Text.
Default: ``.
Locked — locked
On locks the thread; off unlocks it. Locking is separate from archiving and deletion.
Input: On/off switch.
Default:
true.Outputs and next steps
out: Continue to the next step.Test and troubleshoot
Check caller permissions, bot permissions, channel overrides and role hierarchy separately. Test delete/ban/permission changes in a dedicated server rather than against production data.
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).
Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).