Members & roles · Step
Delete role
Delete a role from the server. It can't be undone.
role.delete
In a flow
“When a button is clicked, delete role.”
Delete @Event 2024 when it ends.
What it does
Delete a role from the server. It can't be undone. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Members & roles in the palette.
When to use it
Use it when the flow acts on a member: delete a role from the server. It can't be undone.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Role Role needed
-
The role to delete, like @Event 2024.
What goes there: Type it in the side panel, or wire in a role. e.g. @Verified
If it's empty: Needed. Publish lists it until it's set or wired; the step can't run without it.
Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more