# checkBotPermissions

`function` in `gateway` · v0.9.0

<https://seedcord.org/docs/packages/gateway/0.9.0/functions/check-bot-permissions>

Checks the bot's own permissions in a Guild, or in a channel or thread. Refuses when a permission
in `scope` is missing, or with `inverse` when one is present.

```ts
checkBotPermissions(
    { in: where, ...check },
    input: CheckBotPermissionOptions
): void
```

Checks the bot's own permissions in a Guild, or in a channel or thread. Refuses when a permission
in `scope` is missing, or with `inverse` when one is present.

Parameters.

- `{ in: where, ...check }`
- `input` `CheckBotPermissionOptions`

Returns `void`.
