This commit is contained in:
thsrite
2025-05-07 11:33:58 +08:00
parent 03cd62df1c
commit 1d986257dc

View File

@@ -693,6 +693,8 @@ class WeChatForward(_PluginBase):
else:
# 搜索消息获取消息text中的用户
result = re.search(r"用户:(.*?)\n", text)
if not result:
result = re.search(r"\*用户\*(.*?)\n", text)
if not result:
# 订阅消息获取消息text中的用户
pattern = r"来自用户:(.*?)$"