Skip to main content
Version: 0.37.54

RESTGetAPIGuildPruneCountQuery

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Index

Properties

optionaldays

days?: number

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

@default

7

optionalinclude_roles

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