dead-cells-wiki/qqbot
2022-10-16 11:24:25 +08:00
..
31-0 🎨 Maintain multi-version structure 2022-09-30 20:53:40 +08:00
31-2 Outfits 2022-10-07 11:37:25 +08:00
31-4 ♻️ QQBot for 31-4 2022-10-16 11:24:25 +08:00
README.md QQ bot 2022-09-29 14:29:45 +08:00

QQ 机器人

go-cqhttp 上报的数据格式:

{'post_type': 'message', 'message_type': 'group', 'time': 1664423327, 'self_id': 3519964414, 'sub_type': 'normal', 'font': 0, 'message': '早上好', 'message_seq': 10221, 'sender': {'age': 0, 'area': '', 'card': '', 'level': '', 'nickname': 'EE0000', 'role': 'member', 'sex': 'unknown', 'title': '', 'user_id': 1040110848}, 'user_id': 1040110848, 'message_id': 200510966, 'anonymous': None, 'group_id': 346058845, 'raw_message': '早上好'}

判断 post_type = messagemessage_type = groupgroup_id = 346058845 进行回复