# getBotRole

`function` in `gateway` · v0.1.0-next.3

<https://docs.seedcord.org/packages/gateway/0.1.0-next.3/functions/get-bot-role>

Gets the bot's managed role in a guild.

```ts
getBotRole(guild: Guild): Role
```

Gets the bot's managed role in a guild.

Parameters.

- `guild` `Guild` — The guild to get the bot role from

Returns `Role`.
