diff --git a/src/core/botmodules.rs b/src/core/botmodules.rs index 2fa8945..870fc98 100644 --- a/src/core/botmodules.rs +++ b/src/core/botmodules.rs @@ -340,7 +340,12 @@ impl ModulesManager { // let statusvector = dbt.entry((in_module.clone(),in_modgroup.clone())).or_insert(Vec::new()); - statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)); // Pushes the Module as Enabled at Instance Level + match in_modgroup { + ModGroup::Core => statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)) , // Pushes the Module as Enabled at Instance Level + ModGroup::Custom => statusvector.push(ModStatusType::Disabled(StatusLvl::Instance)), + } + + // statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)); // Pushes the Module as Enabled at Instance Level let mut a = self.botactions.write().await; let modactions = a.entry(in_module.clone()).or_insert(Vec::new());