ActivityLogFilters
Defined in: packages/client/src/activity.ts:5
Narrows the activity log. Every filter is optional; together they must all match.
Properties
Section titled “Properties”before?
Section titled “before?”
optionalbefore?: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.
command?
Section titled “command?”
optionalcommand?:string
Defined in: packages/client/src/activity.ts:13
A command’s name, without the slash.
optionalfrom?:string
Defined in: packages/client/src/activity.ts:7
Rows at or after this time: an ISO 8601 date-time with an offset.
guild?
Section titled “guild?”
optionalguild?:string
Defined in: packages/client/src/activity.ts:15
A server’s ID.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/client/src/activity.ts:21
Rows per page: 1 to 200, default 50.
outcome?
Section titled “outcome?”
optionaloutcome?:ActivityOutcome|"failed"
Defined in: packages/client/src/activity.ts:19
One outcome, or failed for every outcome but ok.
optionalto?:string
Defined in: packages/client/src/activity.ts:9
Rows before this time.
optionaluser?:string
Defined in: packages/client/src/activity.ts:17
A user’s Discord ID. The collector records the lookup in its access log.