Interfacecorev0.3.1
interface DefaultSubscriptionscommandsDeployed: { global: APIApplicationCommand[]; guilds: Record<string, APIApplicationCommand[]>; }handledException: {
denial: Notice;
uuid: UUID;
routeId: string;
source: FaultSource;
}interactionDispatched: {
routeId: string;
interactionId: string;
kind: `${InteractionRoutes}`;
outcome: DispatchOutcome;
fallback: boolean;
durationMs: number;
queuedMs: number;
}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 publishes nothing, since the callback succeeded and carries no message to name.
responseAttempted: { routeId: string; interactionId: string; method: WriteMethod; outcome: ResponseOutcome; durationMs: number; messageId: string | null; error?: Error; }unhandledInteractionError: {
error: Error;
}