Add karma module + on_message hook
All checks were successful
ci / check (push) Successful in 46s

This commit is contained in:
Jean Chevronnet 2026-07-29 20:30:04 +00:00
parent 12961f66da
commit 21e36b9961
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
8 changed files with 291 additions and 2 deletions

View file

@ -4,6 +4,7 @@ pub mod define;
pub mod dice;
pub mod down;
pub mod hash;
pub mod karma;
pub mod tinyurl;
pub mod urban;
pub mod weather;
@ -16,6 +17,7 @@ pub fn all(network: &str) -> Vec<Box<dyn Module>> {
Box::new(builtins::Builtins),
Box::new(dice::Dice::new()),
Box::new(hash::Hash),
Box::new(karma::Karma::new(network)),
Box::new(crypto::Crypto),
Box::new(define::Define),
Box::new(down::Down),