feat: 彻底移除 yirimirai

This commit is contained in:
Junyan Qin
2024-11-15 20:03:49 +08:00
parent 16153dc573
commit 3239c9ec3f
9 changed files with 21 additions and 169 deletions

View File

@@ -37,7 +37,7 @@ class PlatformManager:
async def initialize(self):
from .sources import yirimirai, nakuru, aiocqhttp, qqbotpy
from .sources import nakuru, aiocqhttp, qqbotpy
async def on_friend_message(event: platform_events.FriendMessage, adapter: msadapter.MessageSourceAdapter):
@@ -195,3 +195,7 @@ class PlatformManager:
except Exception as e:
self.ap.logger.error('平台适配器运行出错: ' + str(e))
self.ap.logger.debug(f"Traceback: {traceback.format_exc()}")
async def shutdown(self):
for adapter in self.adapters:
await adapter.kill()