Channels · Step
Age-restrict a channel
Mark a channel age-restricted, or clear it.
channel.set_nsfw
In a flow
“When a button is clicked, age-restrict a channel.”
Setup → Age-restrict a channel.
What it does
Mark a channel age-restricted, or clear it. 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: mark a channel age-restricted, or clear it.
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. Empty is the one this happened in.
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