# PageContext

`interface` in `gateway` · v0.2.1-next.0

<https://docs.seedcord.org/packages/gateway/0.2.1-next.0/interfaces/page-context>

The context passed to a source loader. In a DM `guild` is `null` and `user` is still present.

```ts
interface PageContext
```

## Properties

### core

```ts
core: Core;
```

The framework core.

### guild

```ts
guild: Guild | null;
```

The guild, or `null` in a DM.

### interaction

```ts
interaction: Repliables;
```

The interaction that triggered this load (a command or a nav click).

### user

```ts
user: User;
```

The acting user, always present.
