Latest
function getPruneCount
import { getPruneCount } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Gets the number of members that would be kicked from a guild during pruning.

Parameters

bot: Bot
  • The bot instance used to make the request
guildId: BigString
  • The ID of the guild to get the prune count of.
optional
options: GetGuildPruneCountQuery
  • The parameters for the fetching of the prune count.

Returns

Promise<number>

A number indicating the number of members that would be kicked.