Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface BeginGuildPrune
import { type BeginGuildPrune } from "https://deno.land/x/discordeno@17.0.1/helpers/members/pruneMembers.ts";

Properties

optional
days: number

Number of days to prune (1 or more), default: 7

optional
computePruneCount: boolean

Whether 'pruned' is returned, discouraged for large guilds, default: true

optional
includeRoles: string[]

Role(s) ro include, default: none