Channels · Step
Archive channel
Lock a channel for everyone, rename it and move it to an archive category, in one step.
channel.archive
In a flow
“When a button is clicked, archive channel.”
/archive → Archive channel to Archive.
What it does
Lock a channel for everyone, rename it and move it to an archive category, in one step. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Channels in the palette.
When to use it
Use it when the flow works with channels: lock a channel for everyone, rename it and move it to an archive category, in one step.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Channel Channel
-
The channel to archive. Empty is here.
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 fromAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadFind channel by nameand 59 more
- Archive category Channel
-
Move it here. Empty leaves it where it is.
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 fromAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadFind channel by nameand 59 more
- Name prefix Text
-
Put in front of its name, like archived-. Empty keeps the name.
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 archived-.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more
Values it gives
- Channel Channel
-
The channel. e.g. #archived-event
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 a forum tagAdd to threadAge-restrict a channelAI summary of a channelAnti-nuke guardArchive or lock threadAsk a questionAutoMod: block wordsand 639 more
Shortcuts
- Move channel → Lock or unlock channelIt does what Move channel → Lock or unlock channel do together, in one element.
- Lock or unlock channel → Move channelIt does what Lock or unlock channel → Move channel do together, in one element.