prune method

Future<int> prune(
  1. int days, {
  2. Iterable<Snowflake>? includeRoles,
  3. String? auditReason,
})

Prunes the guild, returns the amount of members pruned.

Implementation

Future<int> prune(int days, {Iterable<Snowflake>? includeRoles, String? auditReason}) =>
    client.httpEndpoints.guildPrune(this.id, days, includeRoles: includeRoles, auditReason: auditReason);