更新依赖注入

This commit is contained in:
HibiKier
2022-10-22 18:12:55 +08:00
parent 1ce4537605
commit 499517e882
9 changed files with 75 additions and 22 deletions
+2
View File
@@ -33,6 +33,8 @@ async def _(bot: Bot, api: str, data: Dict[str, Any]):
)
and r.group(1) in group_manager.get_task_data().keys()
):
# if bot.self_id in bot.config.superusers:
# raise MockApiException(f"禁止社死...")
task = r.group(1)
group_id = data["group_id"]
if group_manager.get_group_level(