10 lines
349 B
Rust
Raw Normal View History

pub mod config;
mod data;
pub use data::RustbotData;
pub mod utils;
2025-01-18 20:59:14 +11:00
pub type RustbotError = Box<dyn std::error::Error + Send + Sync>;
2024-11-27 21:50:28 +11:00
pub type RustbotContext<'a> = poise::Context<'a, RustbotData, RustbotError>;
pub type RustbotFwCtx<'a> = poise::FrameworkContext<'a, RustbotData, RustbotError>;
pub type RustbotResult<T> = Result<T, RustbotError>;