Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function getPruneCount
import { getPruneCount } from "https://deno.land/x/discordeno@13.0.0-rc45/template/beginner/deps.ts";

Check how many members would be removed from the server in a prune operation. Requires the KICK_MEMBERS permission

Parameters

bot: Bot
guildId: bigint
optional
options: GetGuildPruneCountQuery