RestCord logo RestCord

getGuildPruneCount

$client->guild->getGuildPruneCount($parameters);

Description

Requires the 'KICK_MEMBERS' permission.

Parameters

Name Type Required Default
guild.id snowflake true null
days integer false null

Response

Returns an object with one 'pruned' key indicating the number of members that would be removed in a prune operation.