From dda0050513926fea695379823b871504219ad8a3 Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Wed, 20 Mar 2024 23:26:05 -0400 Subject: [PATCH] identity adds core modules --- src/core/identity.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/core/identity.rs b/src/core/identity.rs index f5e710b..b302a7e 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -67,7 +67,8 @@ pub async fn init(mgr: Arc) { ], }; - tempb.add_to_modmgr(Arc::clone(&mgr)).await; + // tempb.add_to_modmgr(Arc::clone(&mgr)).await; + tempb.add_core_to_modmgr(Arc::clone(&mgr)).await; async fn cmd_promote(bot: BotAR, msg: PrivmsgMessage) { botlog::trace( @@ -238,7 +239,9 @@ pub async fn init(mgr: Arc) { ], }; - tempb.add_to_modmgr(Arc::clone(&mgr)).await; + // tempb.add_to_modmgr(Arc::clone(&mgr)).await; + // add_core_to_modmgr + tempb.add_core_to_modmgr(Arc::clone(&mgr)).await; async fn cmd_demote(bot: BotAR, msg: PrivmsgMessage) { botlog::debug( @@ -428,7 +431,9 @@ pub async fn init(mgr: Arc) { ], }; - tempcomm.add_to_modmgr(Arc::clone(&mgr)).await; + // tempcomm.add_to_modmgr(Arc::clone(&mgr)).await; + // add_core_to_modmgr + tempcomm.add_core_to_modmgr(Arc::clone(&mgr)).await; async fn getroles(bot: BotAR, msg: PrivmsgMessage) { botlog::debug(