From bfa67f9b126175d0fee6b3cbccb9c2ae88363966 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Sun, 28 Apr 2024 00:55:32 +0800 Subject: [PATCH] dqdwqf --- main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 36c5684..0f0adfa 100644 --- a/main.py +++ b/main.py @@ -472,10 +472,12 @@ def kp(event_data): res = requests.post(winHookUrl, json=newPayload) r = res.json() answer = r.get("answer", "No answer provided") - print(answer) + newanswer="@"+to_name+answer + + print(newanswer) WXBotService.send_text_message(robot_wxid=account_wxid, from_wxid=wxid, - msg=answer) + msg=newanswer) # if msg in ['腾讯云']: # # 发送小程序