fix: bugfixes

This commit is contained in:
Soulter
2025-03-04 06:32:19 +08:00
parent 90e2e14cd7
commit a5b00dbf74
2 changed files with 19 additions and 17 deletions
-17
View File
@@ -10,15 +10,6 @@ from astrbot.core.platform import (
from astrbot.core.platform.register import register_platform_adapter
from astrbot.core.message.components import *
from astrbot.core.platform.sources.aiocqhttp.aiocqhttp_platform_adapter import AiocqhttpAdapter
from astrbot.core.platform.sources.qqofficial.qqofficial_platform_adapter import QQOfficialPlatformAdapter
from astrbot.core.platform.sources.qqofficial_webhook.qo_webhook_adapter import QQOfficialWebhookPlatformAdapter
from astrbot.core.platform.sources.gewechat.gewechat_platform_adapter import GewechatPlatformAdapter
from astrbot.core.platform.sources.telegram.tg_adapter import TelegramPlatformAdapter
from astrbot.core.platform.sources.webchat.webchat_adapter import WebChatAdapter
from astrbot.core.platform.sources.wecom.wecom_adapter import WecomPlatformAdapter
from astrbot.core.platform.sources.lark.lark_adapter import LarkPlatformAdapter
__all__ = [
"AstrMessageEvent",
"Platform",
@@ -27,12 +18,4 @@ __all__ = [
"MessageType",
"PlatformMetadata",
"register_platform_adapter",
"AiocqhttpAdapter",
"QQOfficialPlatformAdapter",
"QQOfficialWebhookPlatformAdapter",
"GewechatPlatformAdapter",
"TelegramPlatformAdapter",
"WebChatAdapter",
"WecomPlatformAdapter",
"LarkPlatformAdapter",
]
+19
View File
@@ -0,0 +1,19 @@
from .aiocqhttp.aiocqhttp_platform_adapter import AiocqhttpAdapter
from .qqofficial.qqofficial_platform_adapter import QQOfficialPlatformAdapter
from .qqofficial_webhook.qo_webhook_adapter import QQOfficialWebhookPlatformAdapter
from .gewechat.gewechat_platform_adapter import GewechatPlatformAdapter
from .telegram.tg_adapter import TelegramPlatformAdapter
from .webchat.webchat_adapter import WebChatAdapter
from .wecom.wecom_adapter import WecomPlatformAdapter
from .lark.lark_adapter import LarkPlatformAdapter
__all__ = [
"AiocqhttpAdapter",
"QQOfficialPlatformAdapter",
"QQOfficialWebhookPlatformAdapter",
"GewechatPlatformAdapter",
"TelegramPlatformAdapter",
"WebChatAdapter",
"WecomPlatformAdapter",
"LarkPlatformAdapter",
]