ActivityRow
Defined in: packages/client/src/activity.ts:25
One interaction in the activity log: who ran what, where, and how it ended.
Properties
Section titled “Properties”ackMs:
number|null
Defined in: packages/client/src/activity.ts:39
Time to the first response, in milliseconds.
avatar
Section titled “avatar”avatar:
string|null
Defined in: packages/client/src/activity.ts:45
Discord’s avatar hash.
command
Section titled “command”command:
string|null
Defined in: packages/client/src/activity.ts:34
customId
Section titled “customId”customId:
string|null
Defined in: packages/client/src/activity.ts:36
guildId
Section titled “guildId”guildId:
string|null
Defined in: packages/client/src/activity.ts:29
guildName
Section titled “guildName”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
Section titled “interactionId”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
Section titled “outcome”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
Section titled “userId”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
Section titled “username”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.