10 lines
345 B
Rust
Raw Normal View History

pub mod config;
mod data;
pub use data::RustbotData;
pub mod utils;
2024-11-27 21:50:28 +11:00
type RustbotError = Box<dyn std::error::Error + Send + Sync>;
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>;