# CheckPermissionOptions

`interface` in `gateway` · v0.3.1

<https://docs.seedcord.org/packages/gateway/0.3.1/interfaces/check-permission-options>

Options for [`checkPermissions`](/packages/gateway/0.3.1/functions/check-permissions).

```ts
interface CheckPermissionOptions extends PermissionNoticeOverrides
```

## Properties

### dangerousNotice

```ts
dangerousNotice: new (message: string | undefined, subject: string, dangerousPerms: readonly string[]) => Notice
```

### for

```ts
for: Role | GuildMember
```

The role or member to check.

### in

```ts
in: Guild | TextChannel
```

A guild reads the base bits from roles, a text channel reads the overwrite-resolved set.

### inverse

```ts
inverse: boolean;
```

Refuse when the target holds a scope bit.

### missingNotice

```ts
missingNotice: new (message: string | undefined, subject: string, missingPerms: readonly string[]) => Notice
```

### scope

```ts
scope: PermissionScope;
```

The permission flag bits to check.
