"""
核心模块导出。

避免在包导入阶段触发 `bot -> handler -> core` 循环依赖。
"""

__all__ = ["MyClient", "Config"]


def __getattr__(name):
    if name == "MyClient":
        from .bot import MyClient
        return MyClient
    if name == "Config":
        from .config import Config
        return Config
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")