diff --git a/core/__init__.py b/core/__init__.py index dc3ae5d..41e8a92 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -1,5 +1,5 @@ from .command_manager import matcher from .config_loader import global_config -from .ws import WS +from .WS import WS __all__ = ["WS", "matcher", "global_config"] diff --git a/core/bot.py b/core/bot.py index e329cf7..fb41a51 100644 --- a/core/bot.py +++ b/core/bot.py @@ -6,7 +6,7 @@ Bot 抽象模块 from typing import TYPE_CHECKING, Dict, Any if TYPE_CHECKING: - from .ws import WS + from .WS import WS from .api import MessageAPI, GroupAPI, FriendAPI, AccountAPI