2024-10-21 17:36:18 +11:00
|
|
|
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>;
|