Preview deployment

interface FetchEntitlementsOptions

export interface FetchEntitlementsOptions

Options used to fetch entitlements

optional
after? : Snowflake

Consider only entitlements after this entitlement id If both before and after are provided, only before is respected

optional
before? : Snowflake

Consider only entitlements before this entitlement id

optional
cache? : boolean

Whether to cache the fetched entitlements (default: true)

optional
excludeEnded? : boolean

Whether to exclude ended entitlements

optional
guild? : GuildResolvable

The guild to fetch entitlements for

optional
limit? : number

The maximum number of entitlements to fetch

optional
skus? : readonly SKUResolvable[]

The SKUs to fetch entitlements for

optional
user? : UserResolvable

The user to fetch entitlements for