Add weather module

This commit is contained in:
Jean Chevronnet 2026-07-29 17:32:33 +00:00
parent 52d7c13013
commit ebb3333e78
6 changed files with 339 additions and 5 deletions

View file

@ -28,7 +28,7 @@ impl Bot {
pub fn new(config: Config, conn: Connection) -> Bot {
let current_nick = config.nick.clone();
let mods = modules::all();
let mods = modules::all(&config.name);
let mut routes: HashMap<&'static str, usize> = HashMap::new();
for (i, m) in mods.iter().enumerate() {
for spec in m.commands() {