Skip to main content
Module

x/discord_api_types/v9.ts>RESTGetAPIGuildPruneCountQuery

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTGetAPIGuildPruneCountQuery
import { type RESTGetAPIGuildPruneCountQuery } from "https://deno.land/x/discord_api_types@0.37.11/v9.ts";

Properties

optional
days: number

Number of days to count prune for (1 or more)

optional
include_roles: string

Role(s) to include

While this is typed as a string, it represents an array of role IDs delimited by commas

See https://discord.com/developers/docs/resources/guild#get-guild-prune-count-query-string-params