dead-cells-wiki/qqbot
2022-09-30 22:02:47 +08:00
..
31-0 🎨 Maintain multi-version structure 2022-09-30 20:53:40 +08:00
31-2 🚑 Fix bot for shield 2022-09-30 22:02:47 +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 进行回复