mirror of
https://github.com/Nezumi-2711/astrbot_plugin_qq_group_daily_analysis.git
synced 2026-09-22 13:38:43 +00:00
fix(main:92): object of type 'bool' has no len()
This commit is contained in:
@@ -103,8 +103,8 @@ class BotManager:
|
||||
discovered = await self.auto_discover_bot_instances()
|
||||
self._is_initialized = True
|
||||
|
||||
# 返回是否成功初始化(至少有bot实例)
|
||||
return bool(discovered)
|
||||
# 返回发现的实例字典
|
||||
return discovered
|
||||
|
||||
def get_status_info(self) -> Dict[str, Any]:
|
||||
"""获取bot管理器状态信息"""
|
||||
|
||||
Reference in New Issue
Block a user