Skip to content

Macro export_bot

zaun_bot::export_bot · Macro

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