qfqwf
This commit is contained in:
8
main.py
8
main.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user