load botmodules module

This commit is contained in:
ModulatingForce 2024-03-22 18:49:07 -04:00
parent ba6117d692
commit 582702fab2

View file

@ -388,7 +388,7 @@ pub async fn init(mgr: Arc<ModulesManager>) {
trg_level, trg_level,
force, force,
id).await; id).await;
let outmsg = match rslt.clone() { let outmsg = match rslt.clone() {
ChangeResult::Failed(a) => format!("Stare Failed : {}",a), ChangeResult::Failed(a) => format!("Stare Failed : {}",a),
@ -600,6 +600,7 @@ impl ModulesManager {
// 1. load core modules // 1. load core modules
crate::core::identity::init(Arc::clone(&mgrarc)).await; crate::core::identity::init(Arc::clone(&mgrarc)).await;
crate::core::botmodules::init(Arc::clone(&mgrarc)).await;
// 2. load custom modules // 2. load custom modules
crate::custom::init(Arc::clone(&mgrarc)).await; crate::custom::init(Arc::clone(&mgrarc)).await;