Channels · Step
Delete category and channels
Delete a category with every channel in it, like a finished event's.
channel.delete_category
In a flow
“When a button is clicked, delete category and channels.”
/end-event → Delete category and channels Event 12.
What it does
Delete a category with every channel in it, like a finished event's. 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: delete a category with every channel in it, like a finished event's.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Category Channel needed
-
The category to delete, with every channel in it.
What goes there: Type it in the side panel, or wire in a channel. e.g. #general
If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.
Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more
Values it gives
- Deleted Number
-
How many channels went, the category included. e.g. 5
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more