Skip to content

Commit db91ff1

Browse files
committed
修复bot自己给别人发消息时没有PushContent字段导致判断错误,并修复bot自己发消息自己回复问题
1 parent eb841fb commit db91ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/platform/sources/gewechat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def target2yiri(
6767
if message["Data"]["MsgType"] == 1:
6868
# 检查消息开头,如果有 wxid_sbitaz0mt65n22:\n 则删掉
6969
regex = re.compile(r"^wxid_.*:")
70-
print(message)
70+
# print(message)
7171

7272
line_split = message["Data"]["Content"]["string"].split("\n")
7373

0 commit comments

Comments
 (0)