ModulesManager #37

Merged
modulatingforce merged 22 commits from modulesmanager into main 2024-03-22 21:34:08 -04:00
Showing only changes of commit dda0050513 - Show all commits

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) {
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) {
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) {
botlog::debug(