astrbot_plugin_memory_compa.../__init__.py

9 行
252 B
Python

try:
from .main import MemoryCompanionPlugin
except ImportError as exc:
if "no known parent package" not in str(exc) and getattr(exc, "name", "") != "astrbot":
raise
MemoryCompanionPlugin = None
__all__ = ["MemoryCompanionPlugin"]