# InteractionFaultSource

`interface` in `core` · v0.7.0

<https://docs.seedcord.org/packages/core/0.7.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
readonly channelId: string | null
```

Channel the interaction came from, null when unavailable.

### command

```ts
readonly command: string | null
```

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

### customId

```ts
readonly customId: string | null
```

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

### guildId

```ts
readonly guildId: string | null
```

Guild the interaction came from, null in DMs.

### interactionId

```ts
readonly interactionId: string
```

### interactionKind

```ts
readonly interactionKind: 'slash' | 'context-menu' | 'button' | 'select' | 'modal'
```

### kind

```ts
readonly kind: 'interaction'
```

### raw

```ts
readonly raw: unknown
```

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

### userId

```ts
readonly userId: string
```
