# DispatchOrigin

`interface` in `core` · v0.14.0

<https://seedcord.org/docs/packages/core/0.14.0/interfaces/dispatch-origin>

The user, guild, and channel that one interaction or event came from.

```ts
interface DispatchOrigin
```

## Properties

### channelId

```ts
readonly channelId: string | null
```

The channel id, or null when there isn't one.

### guildId

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

The guild id, or null outside a guild.

### guildLocale

```ts
readonly guildLocale: Locale | null
```

The guild's preferred language, or null outside a guild.

### userId

```ts
readonly userId: string | null
```

The id of the user who triggered it, or null on an event without a user.

### userLocale

```ts
readonly userLocale: Locale | null
```

The language that the user picked in Discord, or null on a gateway event because a discord.js `User` doesn't have one.
