# HasPermsToAssignOptions

`interface` in `gateway` · v0.9.0

<https://seedcord.org/docs/packages/gateway/0.9.0/interfaces/has-perms-to-assign-options>

Options for [`hasPermsToAssign`](/docs/packages/gateway/0.9.0/functions/has-perms-to-assign).

```ts
interface HasPermsToAssignOptions
```

## Properties

### higher

```ts
higher?: NoticeConstructor<[role: Role, botRole: Role]>
```

Your Notice class, constructed with both roles and thrown in place of the refusal when the role is at or above the bot's.

### managed

```ts
managed?: NoticeConstructor<[role: Role]>
```

Your Notice class, constructed with the role and thrown in place of the refusal when an integration manages the role.

### missing

```ts
missing?: PermissionNoticeConstructor
```

Your Notice class, thrown when the bot lacks Manage Roles. seedcord constructs it with the bot's mention and that permission's name.

### role

```ts
role: Role;
```

The role the bot would assign.
