pub async fn begin_guild_prune(
client: &Client,
token: &str,
guild_id: &str,
days: u8,
) -> Result<Value, Box<dyn Error>>Expand description
Begins pruning members in a Discord guild.
§Arguments
client- The HTTP client used to send the request.token- The bot token for authentication.guild_id- The ID of the guild to prune members in.days- The number of days to count members without activity.
§Returns
A result containing the prune count as a JSON value.