identity adds core modules

This commit is contained in:
ModulatingForce 2024-03-20 23:26:05 -04:00
parent eb8877f0c1
commit dda0050513

View file

@ -67,7 +67,8 @@ pub async fn init(mgr: Arc<ModulesManager>) {
], ],
}; };
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) { async fn cmd_promote(bot: BotAR, msg: PrivmsgMessage) {
botlog::trace( botlog::trace(
@ -238,7 +239,9 @@ pub async fn init(mgr: Arc<ModulesManager>) {
], ],
}; };
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) { async fn cmd_demote(bot: BotAR, msg: PrivmsgMessage) {
botlog::debug( botlog::debug(
@ -428,7 +431,9 @@ pub async fn init(mgr: Arc<ModulesManager>) {
], ],
}; };
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) { async fn getroles(bot: BotAR, msg: PrivmsgMessage) {
botlog::debug( botlog::debug(