Actions › Members
Remove roles
Removes one or more roles from a member
- 1 credit
- Outputs: Success, Failure
- Undone after a test
Fields
What you set in Properties. The grey name is the one in the Blueprint's JSON.
| Field | What it does | |
|---|---|---|
User userId | The member this action applies to | required |
Roles roleIds | One or more roles, at once. A formula can give a list. | required |
Reason reason | optional |
What it passes on
On the Success output, for the nodes after it. Click a value in the editor to copy its reference.
| Data | Path | Type | |
|---|---|---|---|
| Changed | changed | Yes/No | |
| Roles | roles | List |
When it fails
The Failure output receives success (false) and error: error.code, error.message in the server's language, and error.detail, what Discord said. The possible causes are in Errors.
Discord permissions
Manage Roles
What each one allows, and how to grant one later: Bot permissions.