From d3a6928e3afed7687b2873fb34e2178f8ddc17e3 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Thu, 9 Feb 2023 15:06:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=82=E5=B8=B8=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E4=B8=AD=E5=A4=9A=E4=BD=99=E7=9A=84[bot]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/qqbot/message.py b/pkg/qqbot/message.py index 62c13887..2b2cc6c2 100644 --- a/pkg/qqbot/message.py +++ b/pkg/qqbot/message.py @@ -36,7 +36,7 @@ def process_normal_message(text_message: str, mgr, config, launcher_type: str, reply = [] while True: if unexpected_exception_times >= max_unexpected_exception_times: - reply = handle_exception(notify_admin=f"[bot]{session_name},多次尝试失败。", set_reply=f"[bot]多次尝试失败,请重试或联系管理员") + reply = handle_exception(notify_admin=f"{session_name},多次尝试失败。", set_reply=f"[bot]多次尝试失败,请重试或联系管理员") break try: prefix = "[GPT]" if hasattr(config, "show_prefix") and config.show_prefix else ""