Bulk update roles
bulk_update_rolesAssign or remove a role from all members matching specified filters. First call returns affected count; second call with token applies changes.
Instructions
Add or remove a role across every member matching a filter. Safe to call directly: the first call returns the affected count and a confirm_token; repeating the call with the token applies the change. Walks up to 3000 members and reports if it hits the cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| action | Yes | ||
| role | Yes | Role name or ID. | |
| filter | No | ||
| dry_run | No | ||
| confirm_token | No |