# RequireRoleOptions

`interface` in `core` · v0.12.0

<https://seedcord.org/docs/packages/core/0.12.0/interfaces/require-role-options>

Options for [`RequireRole`](/docs/packages/core/0.12.0/functions/require-role).

```ts
interface RequireRoleOptions
```

## Properties

### missingRole

```ts
missingRole?: NoticeConstructor<[roleId: string]>
```

Your Notice class, constructed with the role id and thrown in place of the refusal when the caller lacks the role.

### notInGuild

```ts
notInGuild?: NoticeConstructor
```

Your Notice class, constructed and thrown in place of the refusal outside a guild.
