Prune members
prune_membersRemove members inactive for a specified number of days who hold no roles. Preview the count, then confirm with a token to execute.
Instructions
Remove members inactive for a number of days who hold no roles. Safe to call directly: the first call counts who would go using Discord's own preview and returns a confirm_token; repeating the call with the token prunes for real.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| days | Yes | Inactivity threshold in days. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |