From 3b5bc5e857b17a83e772c95c314618615f164594 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Mon, 2 Jan 2023 12:46:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E7=A4=BA=E6=9C=AA=E7=9F=A5?= =?UTF-8?q?=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/process.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/qqbot/process.py b/pkg/qqbot/process.py index 180bd1ac..6ef30e70 100644 --- a/pkg/qqbot/process.py +++ b/pkg/qqbot/process.py @@ -171,6 +171,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes pkg.utils.reloader.reload_all() threading.Thread(target=update_task, daemon=True).start() + else: + reply = ["[bot]err:未知的指令或权限不足: "+cmd] except Exception as e: mgr.notify_admin("{}指令执行失败:{}".format(session_name, e)) logging.exception(e)