Channels · Step
Set channel permissions
Allow or deny roles viewing, sending, managing and joining a channel.
channel.set_permissions
In a flow
“When a button is clicked, set channel permissions.”
Let @Staff see #applications.
What it does
Allow or deny roles viewing, sending, managing and joining a channel. 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: allow or deny roles viewing, sending, managing and joining a channel.
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 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