# CheckPermissionOptions

`interface` in `gateway` · v0.9.0

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

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

```ts
interface CheckPermissionOptions
```

## Properties

### for

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

The role or member to check.

### in

```ts
in?: GuildBasedChannel | undefined
```

A channel or thread, to read the set after its overwrites. Leave it out to read the base set from roles.

### inverse

```ts
inverse?: boolean
```

Refuse when the target holds a scope bit.

### notice

```ts
notice?: PermissionNoticeConstructor | undefined
```

Your Notice class, thrown in place of the default refusal. seedcord constructs it with the target's mention and the refused names.

### scope

```ts
scope: PermissionScope;
```

The permission flag bits to check.
