refactor: move plugin setting to db

This commit is contained in:
Junyan Qin
2025-04-12 20:21:43 +08:00
parent 11342e75de
commit ebd091a9e0
10 changed files with 130 additions and 127 deletions

View File

@@ -219,7 +219,7 @@ class VersionManager:
try:
if await self.ap.ver_mgr.is_new_version_available():
return "有新版本可用,请使用管理员账号发送 !update 命令更新", logging.INFO
return "有新版本可用,根据文档更新https://docs.langbot.app/deploy/update.html", logging.INFO
except Exception as e:
return f"检查版本更新时出错: {e}", logging.WARNING