Skip to content

ActivityRow

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

One interaction in the activity log: who ran what, where, and how it ended.

ackMs: number | null

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

Time to the first response, in milliseconds.


avatar: string | null

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

Discord’s avatar hash.


command: string | null

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


customId: string | null

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


guildId: string | null

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


guildName: string | null

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

Text chosen by the server’s owner: render it as text. null for a server the collector has no profile of.


interactionId: string

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

Shardlens’ own ID of the event (a UUIDv7), not Discord’s interaction ID. Unique, and the order rows are paged in.


kind: string

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

chat_input, button, select, modal_submit, message_command…


outcome: ActivityOutcome

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


sub: string | null

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


ts: string

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


userId: string | null

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

null when the row was written under another audit key and can’t be read with this one.


username: string | null

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

Text chosen by the user: render it as text. null when the bot sends IDs only.