# GateNoticeOptions

`interface` in `core` · v0.10.0

<https://seedcord.org/docs/packages/core/0.10.0/interfaces/gate-notice-options>

The override a catalog gate accepts. A one-line `message` reword or a full `notice` replacement. Accepted by
the agnostic catalog gates and, nested per refusal, by [`RequireRole`](/docs/packages/core/0.10.0/functions/require-role). [`RequirePermissions`](/docs/packages/core/0.10.0/functions/require-permissions) and
[`RequireBotPermissions`](/docs/packages/core/0.10.0/functions/require-bot-permissions) take `RequirePermissionsOptions` instead.

```ts
interface GateNoticeOptions
```

## Examples

```ts
// reword the default refusal
OwnerOnly({ message: 'Bot owners only.' });
```

```ts
// replace the refusal entirely, for example a translated Notice
GuildOnly({ notice: new MyTranslatedNotice() });
```

## Properties

### message

```ts
message?: string
```

Reword the default refusal, keeping its embed styling.

### notice

```ts
notice?: Notice
```

Replace the default refusal Notice entirely, for full control or a translated copy.
