Skip to content
Interfacecorev0.10.0

EventFaultSource

A fault that came from a client event, JSON-safe for a webhook payload. The actor, guild, and channel are best-effort, derived from the event args. Each is nullable. The raw args carry the full detail.

interface EventFaultSource

eventName

readonly eventName: string

guildId

Null outside a guild.

readonly guildId: string | null

handler

readonly handler: string

kind

readonly kind: 'event'

raw

The raw event args, made JSON-safe at serialization with filterCirculars.

readonly raw: unknown