From 0307e2a040e819741b997a1e415d2ce02f8d1531 Mon Sep 17 00:00:00 2001 From: taylor Date: Sat, 12 Oct 2024 01:36:31 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=5F=5Finit=5F=5F.py=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maubot_llm_plus/ai_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot_llm_plus/ai_bot.py b/maubot_llm_plus/ai_bot.py index 508e8be..de7cd3a 100644 --- a/maubot_llm_plus/ai_bot.py +++ b/maubot_llm_plus/ai_bot.py @@ -11,7 +11,7 @@ from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper 配置文件加载 """ class Config(BaseProxyConfig): - def db_update(self, helper: ConfigUpdateHelper) -> None: + def do_update(self, helper: ConfigUpdateHelper) -> None: helper.copy("allowed_users") helper.copy("use_platform") helper.copy("name")