refactor: 重构会话封禁功能处理逻辑

This commit is contained in:
RockChinQ
2024-01-24 23:38:13 +08:00
parent f3bcff1261
commit f4ae9df3bf
8 changed files with 109 additions and 95 deletions

View File

@@ -28,6 +28,9 @@ class Application:
def __init__(self):
pass
async def initialize(self):
await self.im_mgr.initialize()
async def run(self):
# TODO make it async
plugin_host.initialize_plugins()