Skip to content

ActivityLogFilters

Defined in: packages/client/src/activity.ts:5

Narrows the activity log. Every filter is optional; together they must all match.

optional before?: string | null

Defined in: packages/client/src/activity.ts:11

Paging: the nextBefore of the page before (null is the same as leaving it out), or a time to start below.


optional command?: string

Defined in: packages/client/src/activity.ts:13

A command’s name, without the slash.


optional from?: string

Defined in: packages/client/src/activity.ts:7

Rows at or after this time: an ISO 8601 date-time with an offset.


optional guild?: string

Defined in: packages/client/src/activity.ts:15

A server’s ID.


optional limit?: number

Defined in: packages/client/src/activity.ts:21

Rows per page: 1 to 200, default 50.


optional outcome?: ActivityOutcome | "failed"

Defined in: packages/client/src/activity.ts:19

One outcome, or failed for every outcome but ok.


optional to?: string

Defined in: packages/client/src/activity.ts:9

Rows before this time.


optional user?: string

Defined in: packages/client/src/activity.ts:17

A user’s Discord ID. The collector records the lookup in its access log.