mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-09 15:26:03 +00:00
refactor: move plugin setting to db
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user