Preview environment

interface FetchBansOptions

export interface FetchBansOptions

Options used to fetch multiple bans from a guild.

optional
after? : Snowflake

Consider only bans after this id

optional
before? : Snowflake

Consider only bans before this id

optional
cache? : boolean

Whether to cache the fetched bans

optional
limit? : number

The maximum number of bans to return