Prune members
prune_membersPreview and remove members inactive for a set number of days with no roles. First call returns a confirmation token; second call with token executes the prune.
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 |
|---|---|---|---|
| days | Yes | Inactivity threshold in days. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |