Skip to content

TrackContext

Defined in: packages/discordjs/src/index.ts:72

Optional context for a custom event. The user ID is hashed in-process before it is sent.

optional guildId?: string | null

Defined in: packages/discordjs/src/index.ts:76

The server it happened in, if any.


optional userId?: string

Defined in: packages/discordjs/src/index.ts:74

Who did it. Hashed in your bot, so the event counts towards unique users and funnels.