ModulesManager #37
1 changed files with 8 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue