# Function dispatch

> Calls the `Bot` handler for `event`.

`zaun_bot::dispatch` · Function

```rust
pub fn dispatch<B>(bot: &mut B, ctx: EventContext, event: Event)
```

Calls the `Bot` handler for `event`.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/events/fn.dispatch.html)
