diff --git a/pkg/qqbot/manager.py b/pkg/qqbot/manager.py index b97f8418..b3783d0e 100644 --- a/pkg/qqbot/manager.py +++ b/pkg/qqbot/manager.py @@ -46,8 +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 True, text return False, ""