# Function: holdsBotRoles()

```ts
function holdsBotRoles(
   node, 
   space, 
   bot, 
   who
): Promise<boolean>;
```

Defined in: [packages/core/src/schemas/connectors.ts:38](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/connectors.ts#L38)

Whether `who` holds every role `bot` holds in a space

## Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | [`P2PNode`](https://minca.dev/api/core/interfaces/P2PNode.md) |
| `space` | `string` |
| `bot` | `string` |
| `who` | `string` |

## Returns

`Promise`\<`boolean`\>
