Add weather module
This commit is contained in:
parent
52d7c13013
commit
ebb3333e78
6 changed files with 339 additions and 5 deletions
|
|
@ -1,11 +1,13 @@
|
|||
pub mod builtins;
|
||||
pub mod dice;
|
||||
pub mod weather;
|
||||
|
||||
use super::module::Module;
|
||||
|
||||
pub fn all() -> Vec<Box<dyn Module>> {
|
||||
pub fn all(network: &str) -> Vec<Box<dyn Module>> {
|
||||
vec![
|
||||
Box::new(builtins::Builtins),
|
||||
Box::new(dice::Dice::new()),
|
||||
Box::new(weather::Weather::new(network)),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue