feat: 适配41697

This commit is contained in:
手瓜一十雪
2025-10-31 14:42:46 +08:00
parent 5848d6b8a2
commit e0fd90296c
3 changed files with 42 additions and 12 deletions

View File

@@ -126,7 +126,11 @@ export class OneBotGroupApi {
}
return undefined;
}
async registerParseGroupReactEvent() {
this.obContext.core.context.packetHandler.onCmd('trpc.msg.olpush.OlPushService.MsgPush', async (packet) => {
console.log(packet.seq, packet.hex_data);
});
}
async parsePaiYiPai(msg: RawMessage, jsonStr: string) {
const json = JSON.parse(jsonStr);
//判断业务类型