better:优化表情包处理,优化logger显示

This commit is contained in:
SengokuCola
2025-04-30 18:16:38 +08:00
parent 5963214d95
commit 09b1807132
10 changed files with 69 additions and 54 deletions

View File

@@ -77,7 +77,7 @@ class BaseWillingManager(ABC):
if not issubclass(manager_class, cls):
raise TypeError(f"Manager class {manager_class.__name__} is not a subclass of {cls.__name__}")
else:
logger.info(f"成功载入willing模式:{manager_type}")
logger.info(f"普通回复模式:{manager_type}")
return manager_class()
except (ImportError, AttributeError, TypeError) as e:
module = importlib.import_module(".mode_classical", __package__)