interface GuildAuditLogsFetchOptions

export interface GuildAuditLogsFetchOptions<Event extends GuildAuditLogsResolvable>

Options used to fetch audit logs.

Type Parameters

optional
after? : Snowflake | GuildAuditLogsEntry

Consider only entries after this entry

optional
before? : Snowflake | GuildAuditLogsEntry

Consider only entries before this entry

optional
limit? : number

The number of entries to return

optional
type? : Event

Only return entries for this action type

optional
user? : UserResolvable

Only return entries for actions made by this user