//! Discord Bot integration.
//!
//! Provides:
//! - [`DiscordTransport`] — a [`ChatTransport`] that sends messages via the
//!   Discord REST API (`/channels/{id}/messages`).
//! - [`gateway::spawn_gateway`] — connects to the Discord Gateway WebSocket,
//!   receives `MESSAGE_CREATE` events, and dispatches commands.
//! - [`DiscordContext`] — shared context for the bot.

/// Discord bot command handlers — parses and dispatches bot commands from Discord messages.
pub mod commands;
/// Discord message formatter — converts markdown to Discord-compatible markup.
pub mod format;
/// Discord Gateway WebSocket — connects to the Discord Gateway and handles MESSAGE_CREATE events.
pub mod gateway;
/// Discord conversation history — loads prior chat history for context.
pub mod history;
/// DiscordTransport — `ChatTransport` implementation for the Discord Bot API.
pub mod meta;

pub use commands::DiscordContext;
pub use history::load_discord_history;
pub use meta::DiscordTransport;
