Skip to content

GuildAuditLogsFetchOptions

typedef · Source

Options used to fetch audit logs. Type: Object

Properties

before

optional

before: Snowflake | GuildAuditLogsEntry

Consider only entries before this entry

after

optional

after: Snowflake | GuildAuditLogsEntry

Consider only entries after this entry

limit

optional

limit: number

The number of entries to return

user

optional

user: UserResolvable

Only return entries for actions made by this user

type

optional

type: AuditLogAction | number

Only return entries for this action type

Unofficial software. Not affiliated with or supported by Discord.