# AllSubscriptions

`interface` in `core` · v0.14.0

<https://seedcord.org/docs/packages/core/0.14.0/interfaces/all-subscriptions>

```ts
interface AllSubscriptions extends DefaultSubscriptions, Subscriptions
```

## Properties

### commandsDeployed

```ts
readonly commandsDeployed: { readonly global: readonly APIApplicationCommand[]; readonly guilds: Readonly<Record<string, readonly APIApplicationCommand[]>>; }
```

Triggered after each command deploy, including the redeploy after a hot reload.

### handledException

```ts
readonly handledException: { readonly denial: Notice; readonly uuid: UUID; readonly dispatchId: string; readonly origin: string; readonly source: FaultSource; }
```

Triggered when a reported Notice (`report: true`) is caught.

### interactionDispatched

```ts
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; }
```

Triggered once per interaction dispatch after the handler chain settles.

### interactionDispatching

```ts
readonly interactionDispatching: Simplify<Pick<DefaultSubscriptions['interactionDispatched'], 'dispatchId' | 'routeId' | 'interactionId' | 'kind' | 'fallback'>>
```

Triggered once per interaction dispatch before plugin members, middleware, gates, and the handler run.
It shares its `dispatchId` with the `interactionDispatched` that follows, which seedcord publishes only
once the handler settles.

### responseAttempted

```ts
readonly responseAttempted: ResponseAttempt
```

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.

### unhandledInteractionError

```ts
readonly unhandledInteractionError: { readonly error: Error; readonly interactionId: string; }
```

Triggered when an interaction dispatch throws past the fault boundary.

### unknownException

```ts
readonly 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; }
```

Triggered when an unhandled exception (a raw non-Notice throw) occurs.
