Skip to main content
Module

x/discordeno/mod.ts>getPruneCount

Discord API library for Deno
Latest
function getPruneCount
import { getPruneCount } from "https://deno.land/x/discordeno@18.0.1/mod.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.