rubot/src/bot/modules/mod.rs
2026-07-29 19:42:36 +00:00

27 lines
605 B
Rust

pub mod builtins;
pub mod crypto;
pub mod define;
pub mod dice;
pub mod down;
pub mod hash;
pub mod tinyurl;
pub mod urban;
pub mod weather;
pub mod wiki;
use super::module::Module;
pub fn all(network: &str) -> Vec<Box<dyn Module>> {
vec![
Box::new(builtins::Builtins),
Box::new(dice::Dice::new()),
Box::new(hash::Hash),
Box::new(crypto::Crypto),
Box::new(define::Define),
Box::new(down::Down),
Box::new(tinyurl::Tinyurl),
Box::new(urban::Urban),
Box::new(weather::Weather::new(network)),
Box::new(wiki::Wiki),
]
}