# PageContext

`interface` in `seedcord` · v0.15.0

<https://docs.seedcord.org/packages/seedcord/0.15.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, passed only when a source requires framework services.

### 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.
