From 9d670f022898888dc13e2f690b13bec685f629de Mon Sep 17 00:00:00 2001 From: taylor <=> Date: Sat, 12 Oct 2024 09:44:43 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maubot.yaml | 2 +- maubot_llm_plus/ai_bot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/maubot.yaml b/maubot.yaml index aade3d3..e62b59f 100644 --- a/maubot.yaml +++ b/maubot.yaml @@ -3,7 +3,7 @@ id: org.taylorxie.llmplus version: 1.0.0 license: MIT modules: - - maubot_llm_plus + - maubot_llm_plus.ai_bot main_class: AiBot config: true extra_files: diff --git a/maubot_llm_plus/ai_bot.py b/maubot_llm_plus/ai_bot.py index de7cd3a..4ac7abb 100644 --- a/maubot_llm_plus/ai_bot.py +++ b/maubot_llm_plus/ai_bot.py @@ -27,6 +27,7 @@ class AiBot(Plugin): async def start(self) -> None: + await super().start() # 加载并更新配置 self.config.load_and_update() # 决定当前机器人的名称