Skip to main content

export_bot

Macro export_bot 

Source
macro_rules! export_bot {
    ($bot:ty) => { ... };
}
Expand description

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.