This commit is contained in:
hackrobot
2024-04-28 14:17:12 +08:00
parent f00849f497
commit 57b2281581

View File

@@ -434,17 +434,17 @@ def kp(event_data):
# 收到群聊消息
if group:
# 异度世界交流群2 | 小号群18507867712@chatroom
if group=="18507867712@chatroom":
# 异度世界交流群2 48357370389@chatroom | 小号群18507867712@chatroom
if group=="18507867712@chatroom" or group=="48357370389@chatroom":
# 群聊被@
if "@异度世界" in msg:
# 发送@消息
# 发送 @ 消息
WXBotService.send_at_message(robot_wxid=account_wxid,
# from_wxid=wxid,
from_wxid=group,
msg=f'@{wx_name} testgroup',
wx_list=wxid)
else:
# 其他群组消息,不做响应
pass
else:
# pass