# Macro export_bot

> Exports a `Bot` type as the component's `zaun:bot/bot` implementation.

`zaun_bot::export_bot` · Macro

```rust
macro_rules! export_bot { … }
```

Exports a `Bot` type as the component's `zaun:bot/bot` implementation.

The type must implement `Bot` (and so `Default`). Use it once, in the
bot crate's root.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/macro.export_bot.html)
