# RequirePermissionsOptions

`interface` in `core` · v0.1.0-next.5

<https://docs.seedcord.org/packages/core/0.1.0-next.5/interfaces/require-permissions-options>

Options for [`RequirePermissions`](/packages/core/0.1.0-next.5/functions/require-permissions) and [`RequireBotPermissions`](/packages/core/0.1.0-next.5/functions/require-bot-permissions).

```ts
interface RequirePermissionsOptions
```

## Properties

### in

```ts
in: 'channel' | 'guild'
```

The set the check reads. `'channel'` reads the effective channel set the payload carries, what Discord enforces in the invoked channel. `'guild'` reads the base set from roles, available on the gateway transport only.

### missing

```ts
missing: GateNoticeOptions;
```

Reword or replace the refusal shown when a permission is missing.

### notInGuild

```ts
notInGuild: GateNoticeOptions;
```

Reword or replace the refusal shown when the set is unavailable (outside a guild, or unresolved inside one).
