Skip to main content
Version: 0.37.87

RESTGetAPIGuildPruneCountQuery

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