# GateNoticeOptions

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

<https://docs.seedcord.org/packages/core/0.1.0-next.5/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`](/packages/core/0.1.0-next.5/functions/require-role). [`RequirePermissions`](/packages/core/0.1.0-next.5/functions/require-permissions) and [`RequireBotPermissions`](/packages/core/0.1.0-next.5/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.
