Add web modules (crypto, wiki, define, urban, tinyurl, down) + shared http/json
All checks were successful
ci / check (push) Successful in 48s
All checks were successful
ci / check (push) Successful in 48s
This commit is contained in:
parent
7846f91afe
commit
c3139b4e4d
14 changed files with 794 additions and 130 deletions
|
|
@ -1,7 +1,13 @@
|
|||
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;
|
||||
|
||||
|
|
@ -10,6 +16,12 @@ pub fn all(network: &str) -> Vec<Box<dyn Module>> {
|
|||
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),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue