# InteractionFaultSource

`interface` in `seedcord` · v0.15.0

<https://docs.seedcord.org/packages/seedcord/0.15.0/interfaces/interaction-fault-source>

A fault that came from a discord interaction, JSON-safe for a webhook payload.

```ts
interface InteractionFaultSource
```

## Properties

### channelId

```ts
channelId: string | null;
```

Channel the interaction came from, null when unavailable.

### command

```ts
command: string | null;
```

Slash or context-menu command name, null for component and modal interactions.

### customId

```ts
customId: string | null;
```

Component or modal customId, null for slash and context-menu interactions.

### guildId

```ts
guildId: string | null;
```

Guild the interaction came from, null in DMs.

### interactionId

```ts
interactionId: string;
```

The interaction's own id.

### interactionKind

```ts
interactionKind: "slash" | "context-menu" | "button" | "select" | "modal";
```

Which interaction kind produced the fault.

### kind

```ts
kind: "interaction";
```

### raw

```ts
raw: unknown;
```

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

### userId

```ts
userId: string;
```

User who triggered the interaction.
