Actions › Moderation
Ban Member
Removes a member from the server and prevents them from rejoining
- 1 credit
- Outputs: Success, Failure
- Partly 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 |
Reason reason | optional | |
Delete messages from (seconds) deleteMessageSeconds | optional |
What it passes on
This node writes no extra fields beyond the standard ones.
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
Ban Members
What each one allows, and how to grant one later: Bot permissions.
In test mode
A ban is only lifted: the member isn't added back to the server, and the messages it deleted stay deleted.
Acts on real members of the server: the test start dialog warns about it.