title: Get Guild Prune Count category: Guild
getGuildPruneCount
$client->guild->getGuildPruneCount($parameters);
Requires the 'KICK_MEMBERS' permission.
Name | Type | Required | Default |
---|---|---|---|
guild.id | snowflake | true | null |
days | integer | false | null |
Returns an object with one 'pruned' key indicating the number of members that would be removed in a prune operation.