From d762fea382268f729e63f3b06038c3fc80f7a622 Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Mon, 19 Dec 2022 17:16:34 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E8=BE=93=E5=87=BA=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E5=8C=B9=E9=85=8D=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/qqbot/manager.py b/pkg/qqbot/manager.py index fb0c8e96..b97f8418 100644 --- a/pkg/qqbot/manager.py +++ b/pkg/qqbot/manager.py @@ -46,6 +46,7 @@ def check_response_rule(text: str) -> (bool, str): import re match = re.match(rule, text) if match: + print(match) return True, match.group(1) return False, ""