Interfacecorev0.14.0
interface DefaultSubscriptionsreadonly commandsDeployed: { readonly global: readonly APIApplicationCommand[]; readonly guilds: Readonly<Record<string, readonly APIApplicationCommand[]>>; }readonly handledException: { readonly denial: Notice; readonly uuid: UUID; readonly dispatchId: string; readonly origin: string; readonly source: FaultSource; }readonly interactionDispatched: { readonly dispatchId: string; readonly routeId: string; readonly interactionId: string; readonly kind: `${InteractionKind}`; readonly outcome: DispatchOutcome; readonly fallback: boolean; readonly userId: string | null; readonly guildId: string | null; readonly durationMs: number; readonly queuedMs: number; }readonly interactionDispatching: Simplify<Pick<DefaultSubscriptions['interactionDispatched'], 'dispatchId' | 'routeId' | 'interactionId' | 'kind' | 'fallback'>>Triggered on every write through the reply surface, several times per interaction. A write that
throws reports here too, with outcome failed. A write that reaches Discord and then returns an
unexpected shape skips the publish since the callback succeeded but the response doesn't include a message to name.
readonly responseAttempted: ResponseAttemptreadonly unknownException: { readonly uuid: UUID; readonly dispatchId: string | null; readonly error: Error; readonly origin: string; readonly guild?: { readonly id: string; readonly name: string; } | undefined; readonly user?: { readonly id: string; readonly username: string; } | undefined; readonly metadata?: unknown; }