Hoshinonyaruko / Gensokyo

基于qq官方api开发的符合onebot标准的golang实现,轻量、原生跨平台.
GNU General Public License v3.0
667 stars 44 forks source link

bot如果发送多张图片,gsk实际只会发送第一张 #93

Closed yuuki-nya closed 11 months ago

yuuki-nya commented 12 months ago

版本:https://github.com/Hoshinonyaruko/Gensokyo/releases/tag/92%2Fmerge 对接bot:HoshinoBot 测试环境:QQ群 日志:

2023/11/14 13:28:39 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR22-5 rank表:\n"},"type":"text"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_22-5_1.png"},"type":"image"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_22-5_2.png"},"type":"image"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_22-5_3.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:2]
2023/11/14 13:28:39 appID: *****, GroupID: 1
2023/11/14 13:28:39 msgType: group
2023/11/14 13:28:39 params.message is a slice (segment_type_koishi)
2023/11/14 13:28:39 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R22-5 rank表:
2023/11/14 13:28:39 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRsmtCXw3DoGB2xwomPnbmDeFXBXdjoeSzYqANL3Im15R5ZAa0RsxaDexZgPXfcnqA!!
2023/11/14 13:28:40 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:2876bc817aaade46894c7db7edfd422a, status:200 OK, elapsed:346.580869ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR22-5 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRsmtCXw3DoGB2xwomPnbmDeFXBXdjoeSzYqANL3Im15R5ZAa0RsxaDexZgPXfcnqA!!","timestamp":1699968519}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}

上述日志一共有3长图片,但是gsk转换后只发第1张

Hoshinonyaruko commented 11 months ago

日志不全

yuuki-nya commented 11 months ago
2023/11/16 13:45:15 INFO: [ws][ID:00b15e20-c305-4e8c-a149-c03503c5ac90][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":8,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beutqbtranwthst9cz7uoqcvbuv957wseidnfe0ixfc6s","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuejO.4YKcfPqSMQENSfySRc8Y3x.j-W0dD9EWkpKu2n-y0bzWi8-PDzwfCMemkroZw!!","timestamp":"2023-11-16T21:45:14+08:00"}}
2023/11/16 13:45:15 RawMessage: brank
2023/11/16 13:45:15 MessageID: 165
2023/11/16 13:45:15 GroupID: 1
2023/11/16 13:45:15 MessageType: group
2023/11/16 13:45:15 PostType: message
2023/11/16 13:45:15 SelfID: *******
2023/11/16 13:45:15 Sender: {  2 owner}
2023/11/16 13:45:15 SubType: normal
2023/11/16 13:45:15 Time: 1700142315
2023/11/16 13:45:15 Avatar: 
2023/11/16 13:45:15 Echo: 
2023/11/16 13:45:15 Message: [map[data:map[text:brank] type:text]]
2023/11/16 13:45:15 MessageSeq: 0
2023/11/16 13:45:15 Font: 0
2023/11/16 13:45:15 UserID: 2
2023/11/16 13:45:15 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 6}}
2023/11/16 13:45:15 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:////HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:6]
2023/11/16 13:45:15 appID: *******, GroupID: 1
2023/11/16 13:45:15 msgType: group
2023/11/16 13:45:15 params.message is a slice (segment_type_koishi)
2023/11/16 13:45:15 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/16 13:45:15 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEuejO.4YKcfPqSMQENSfySRc8Y3x.j-W0dD9EWkpKu2n-y0bzWi8-PDzwfCMemkroZw!!
2023/11/16 13:45:15 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:3d7e6f2db70c78c96a0b6a2be9f80416, status:200 OK, elapsed:321.904145ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuejO.4YKcfPqSMQENSfySRc8Y3x.j-W0dD9EWkpKu2n-y0bzWi8-PDzwfCMemkroZw!!","timestamp":1700142315}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/16 13:45:15 发送成功回执: map[data:map[message_id:0] echo:map[seq:6] message: retcode:0 status:ok]
2023/11/16 13:45:15 Received base64 data length: 1357188 characters
2023/11/16 13:45:15 Received data size: 1017889 bytes
2023/11/16 13:45:15 Detected image format: png
2023/11/16 13:45:15 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEuejO.4YKcfPqSMQENSfySRc8Y3x.j-W0dD9EWkpKu2n-y0bzWi8-PDzwfCMemkroZw!! FileType:1 URL:http://***********/channel_temp/90dcd315f592d7f53f1806fbd664f1c4.png SrvSendMsg:true Content:}
2023/11/16 13:45:16 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:61fe0f5c9ee30b10060bad7f2f72483c, status:200 OK, elapsed:572.056165ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuejO.4YKcfPqSMQENSfySRc8Y3x.j-W0dD9EWkpKu2n-y0bzWi8-PDzwfCMemkroZw!!","file_type":1,"url":"http://********/channel_temp/90dcd315f592d7f53f1806fbd664f1c4.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_woo2qzL1tPIggNQgL2jAQ"}
2023/11/16 13:45:16 发送成功回执: map[data:map[message_id:0] echo:map[seq:6] message: retcode:0 status:ok]
Hoshinonyaruko commented 11 months ago

你发的url多了一个/,应该是三个

yuuki-nya commented 11 months ago

修改了发图的代码,///保持三个,情况依旧

2023/11/16 14:24:53 INFO: [ws][ID:21af4b20-d762-4e28-b9d4-5e11a879128d][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":2,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beufasuw9doojbdeuelphc4nuv957wseidnfe0ixfc6s","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRuSSCJyfFRBJBikWw7jVbOLEhHVH9unH519q63CIbi1y0bzWi8-PDzwfCMemkroZw!!","timestamp":"2023-11-16T22:24:51+08:00"}}
2023/11/16 14:24:53 RawMessage: brank
2023/11/16 14:24:53 MessageID: 173
2023/11/16 14:24:53 GroupID: 1
2023/11/16 14:24:53 MessageType: group
2023/11/16 14:24:53 PostType: message
2023/11/16 14:24:53 SelfID: *******
2023/11/16 14:24:53 Sender: {  2 owner}
2023/11/16 14:24:53 SubType: normal
2023/11/16 14:24:53 Time: 1700144693
2023/11/16 14:24:53 Avatar: 
2023/11/16 14:24:53 Echo: 
2023/11/16 14:24:53 Message: [map[data:map[text:brank] type:text]]
2023/11/16 14:24:53 MessageSeq: 0
2023/11/16 14:24:53 Font: 0
2023/11/16 14:24:53 UserID: 2
2023/11/16 14:24:53 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 1}}
2023/11/16 14:24:53 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:1]
2023/11/16 14:24:53 appID: *****, GroupID: 1
2023/11/16 14:24:53 msgType: group
2023/11/16 14:24:53 params.message is a slice (segment_type_koishi)
2023/11/16 14:24:53 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/16 14:24:53 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRuSSCJyfFRBJBikWw7jVbOLEhHVH9unH519q63CIbi1y0bzWi8-PDzwfCMemkroZw!!
2023/11/16 14:24:53 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:b6945fb1a21106fc45baeb316fc0cbdf, status:200 OK, elapsed:402.084429ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRuSSCJyfFRBJBikWw7jVbOLEhHVH9unH519q63CIbi1y0bzWi8-PDzwfCMemkroZw!!","timestamp":1700144693}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/16 14:24:53 发送成功回执: map[data:map[message_id:0] echo:map[seq:1] message: retcode:0 status:ok]
2023/11/16 14:24:54 Received base64 data length: 1357188 characters
2023/11/16 14:24:54 Received data size: 1017889 bytes
2023/11/16 14:24:54 Detected image format: png
2023/11/16 14:24:54 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRuSSCJyfFRBJBikWw7jVbOLEhHVH9unH519q63CIbi1y0bzWi8-PDzwfCMemkroZw!! FileType:1 URL:http://********/channel_temp/3732a00eb1bd7beba15b5b6e3eeecd8e.png SrvSendMsg:true Content:}
2023/11/16 14:24:54 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:90448dcede671295a8bab9f0d94f230c, status:200 OK, elapsed:430.744334ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuRuSSCJyfFRBJBikWw7jVbOLEhHVH9unH519q63CIbi1y0bzWi8-PDzwfCMemkroZw!!","file_type":1,"url":"http://********/channel_temp/3732a00eb1bd7beba15b5b6e3eeecd8e.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_wooxK_IxNzIggNQgL2jAQ"}
2023/11/16 14:24:54 发送成功回执: map[data:map[message_id:0] echo:map[seq:1] message: retcode:0 status:ok]
yuuki-nya commented 11 months ago

更新action版

2023/11/16 14:46:26 INFO: [ws][ID:fec40bc9-09ad-4ceb-97d7-709997a94793][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":2,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beuynzxm0rfetzp3f9ttvcfytuv957wseidnfe0ixfc6s","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEudVNyP-N6Vwk-ZuLqegcnD9KEp5HcTjNkZ3sf6x.gNm8y0bzWi8-PDzwfCMemkroZw!!","timestamp":"2023-11-16T22:46:25+08:00"}}
2023/11/16 14:46:26 RawMessage: brank
2023/11/16 14:46:26 MessageID: 179
2023/11/16 14:46:26 GroupID: 1
2023/11/16 14:46:26 MessageType: group
2023/11/16 14:46:26 PostType: message
2023/11/16 14:46:26 SelfID: ****
2023/11/16 14:46:26 Sender: {  2 owner}
2023/11/16 14:46:26 SubType: normal
2023/11/16 14:46:26 Time: 1700145986
2023/11/16 14:46:26 Avatar: 
2023/11/16 14:46:26 Echo: 
2023/11/16 14:46:26 Message: [map[data:map[text:brank] type:text]]
2023/11/16 14:46:26 MessageSeq: 0
2023/11/16 14:46:26 Font: 0
2023/11/16 14:46:26 UserID: 2
2023/11/16 14:46:27 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 2}}
2023/11/16 14:46:27 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:2]
2023/11/16 14:46:27 appID: ******, GroupID: 1
2023/11/16 14:46:27 msgType: group
2023/11/16 14:46:27 params.message is a slice (segment_type_koishi)
2023/11/16 14:46:27 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
[CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png]
2023/11/16 14:46:27 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/16 14:46:27 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEudVNyP-N6Vwk-ZuLqegcnD9KEp5HcTjNkZ3sf6x.gNm8y0bzWi8-PDzwfCMemkroZw!!
2023/11/16 14:46:27 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:6fc399e7e64bfa3620eeb0fa544fdf63, status:200 OK, elapsed:295.214732ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEudVNyP-N6Vwk-ZuLqegcnD9KEp5HcTjNkZ3sf6x.gNm8y0bzWi8-PDzwfCMemkroZw!!","timestamp":1700145987}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/16 14:46:27 发送成功回执: map[data:map[message_id:0] echo:map[seq:2] message: retcode:0 status:ok]
2023/11/16 14:46:27 Received base64 data length: 1357188 characters
2023/11/16 14:46:27 Received data size: 1017889 bytes
2023/11/16 14:46:27 Detected image format: png
2023/11/16 14:46:27 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEudVNyP-N6Vwk-ZuLqegcnD9KEp5HcTjNkZ3sf6x.gNm8y0bzWi8-PDzwfCMemkroZw!! FileType:1 URL:http://******/channel_temp/a0aed1a5e07301ac83ab67eaed4a4a5b.png SrvSendMsg:true Content:}
2023/11/16 14:46:27 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:50174906ddce72d867311e446f84ef1b, status:200 OK, elapsed:396.133538ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEudVNyP-N6Vwk-ZuLqegcnD9KEp5HcTjNkZ3sf6x.gNm8y0bzWi8-PDzwfCMemkroZw!!","file_type":1,"url":"http://*****/channel_temp/a0aed1a5e07301ac83ab67eaed4a4a5b.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_woogKOhreHIggNQgL2jAQ"}
2023/11/16 14:46:27 发送成功回执: map[data:map[message_id:0] echo:map[seq:2] message: retcode:0 status:ok]
yuuki-nya commented 11 months ago

使用 https://github.com/Hoshinonyaruko/Gensokyo/releases/tag/116%2Fmerge

2023/11/17 01:27:36 INFO: [ws][ID:91a75209-79c3-45e5-96d5-68d773936182][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":35,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beuekxz5l3xliqdzpsescndxqkgxwpynhysl6q6ws849","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEucLT84WoElRyN0v4umFBYk6tA3XgA-Ct6Rkl3zbLSkQ9R5ZAa0RsxaDexZgPXfcnqA!!","timestamp":"2023-11-17T09:27:34+08:00"}}
2023/11/17 01:27:36 RawMessage: brank
2023/11/17 01:27:36 MessageID: 509
2023/11/17 01:27:36 GroupID: 1
2023/11/17 01:27:36 MessageType: group
2023/11/17 01:27:36 PostType: message
2023/11/17 01:27:36 SelfID: ******
2023/11/17 01:27:36 Sender: {  2 owner}
2023/11/17 01:27:36 SubType: normal
2023/11/17 01:27:36 Time: 1700184456
2023/11/17 01:27:36 Avatar: 
2023/11/17 01:27:36 Echo: 
2023/11/17 01:27:36 Message: [map[data:map[text:brank] type:text]]
2023/11/17 01:27:36 MessageSeq: 0
2023/11/17 01:27:36 Font: 0
2023/11/17 01:27:36 UserID: 2
2023/11/17 01:27:36 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 29}}
2023/11/17 01:27:36 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:29]
2023/11/17 01:27:36 appID: ******, GroupID: 1
2023/11/17 01:27:36 msgType: group
2023/11/17 01:27:36 params.message is a slice (segment_type_koishi)
2023/11/17 01:27:36 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/17 01:27:36 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEucLT84WoElRyN0v4umFBYk6tA3XgA-Ct6Rkl3zbLSkQ9R5ZAa0RsxaDexZgPXfcnqA!!
2023/11/17 01:27:36 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:e763bf3436373b3ae9bf9a0c049a63e2, status:200 OK, elapsed:411.788075ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEucLT84WoElRyN0v4umFBYk6tA3XgA-Ct6Rkl3zbLSkQ9R5ZAa0RsxaDexZgPXfcnqA!!","timestamp":1700184456}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/17 01:27:36 发送成功回执: map[data:map[message_id:0] echo:map[seq:29] message: retcode:0 status:ok]
2023/11/17 01:27:36 Received base64 data length: 1357188 characters
2023/11/17 01:27:36 Received data size: 1017889 bytes
2023/11/17 01:27:36 Detected image format: png
2023/11/17 01:27:36 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEucLT84WoElRyN0v4umFBYk6tA3XgA-Ct6Rkl3zbLSkQ9R5ZAa0RsxaDexZgPXfcnqA!! FileType:1 URL:http://******/channel_temp/01682812674f86e462e14d312ab5e598.png SrvSendMsg:true Content:}
2023/11/17 01:27:37 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:dc65697a21bf5c2c48f47c5cdb228d99, status:200 OK, elapsed:500.238245ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEucLT84WoElRyN0v4umFBYk6tA3XgA-Ct6Rkl3zbLSkQ9R5ZAa0RsxaDexZgPXfcnqA!!","file_type":1,"url":"http://******/channel_temp/01682812674f86e462e14d312ab5e598.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_wooxPPp1PDJggNQgL2jAQ"}
2023/11/17 01:27:37 发送成功回执: map[data:map[message_id:0] echo:map[seq:29] message: retcode:0 status:ok]
yuuki-nya commented 11 months ago

https://github.com/Hoshinonyaruko/Gensokyo/actions/runs/6898758889 首先是发多图问题,还是只能发一张

e":"nyabot小雏","bot":true,"status":1},"shard":[0,1]}}
2023/11/17 01:49:38 INFO: [ws][ID:c2e3c48a-c703-4335-b09f-d92dd6da0b7f][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":2,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beuwu1iv5css8hsbqhbknvhuv957wseidnfe0ixfc6s","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY-nYK0Hhpn7CUZeMUXQpudRxlxhYr11sK.QCsXy3W1by0bzWi8-PDzwfCMemkroZw!!","timestamp":"2023-11-17T09:49:36+08:00"}}
2023/11/17 01:49:38 RawMessage: brank
2023/11/17 01:49:38 MessageID: 514
2023/11/17 01:49:38 GroupID: 1
2023/11/17 01:49:38 MessageType: group
2023/11/17 01:49:38 PostType: message
2023/11/17 01:49:38 SelfID: ******
2023/11/17 01:49:38 Sender: {  2 owner}
2023/11/17 01:49:38 SubType: normal
2023/11/17 01:49:38 Time: 1700185778
2023/11/17 01:49:38 Avatar: 
2023/11/17 01:49:38 Echo: 
2023/11/17 01:49:38 Message: [map[data:map[text:brank] type:text]]
2023/11/17 01:49:38 MessageSeq: 0
2023/11/17 01:49:38 Font: 0
2023/11/17 01:49:38 UserID: 2
2023/11/17 01:49:38 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 3}}
2023/11/17 01:49:38 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:3]
2023/11/17 01:49:38 appID: ******, GroupID: 1
2023/11/17 01:49:38 msgType: group
2023/11/17 01:49:38 params.message is a slice (segment_type_koishi)
2023/11/17 01:49:38 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
[CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png]
Key: local_image, Items: [/HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png]
2023/11/17 01:49:38 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/17 01:49:38 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY-nYK0Hhpn7CUZeMUXQpudRxlxhYr11sK.QCsXy3W1by0bzWi8-PDzwfCMemkroZw!!
2023/11/17 01:49:38 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:23a4bab50c19210894e8b8f2cf5d3c0d, status:200 OK, elapsed:325.305935ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY-nYK0Hhpn7CUZeMUXQpudRxlxhYr11sK.QCsXy3W1by0bzWi8-PDzwfCMemkroZw!!","timestamp":1700185778}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/17 01:49:38 发送成功回执: map[data:map[message_id:0] echo:map[seq:3] message: retcode:0 status:ok]
2023/11/17 01:49:38 Received base64 data length: 1357188 characters
2023/11/17 01:49:38 Received data size: 1017889 bytes
2023/11/17 01:49:38 Detected image format: png
2023/11/17 01:49:38 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY-nYK0Hhpn7CUZeMUXQpudRxlxhYr11sK.QCsXy3W1by0bzWi8-PDzwfCMemkroZw!! FileType:1 URL:http://******/channel_temp/315c82cc777f7835df02863d5b599665.png SrvSendMsg:true Content:}
2023/11/17 01:49:39 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:7968a350980e99c1129699dcc3bb5167, status:200 OK, elapsed:378.182102ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY-nYK0Hhpn7CUZeMUXQpudRxlxhYr11sK.QCsXy3W1by0bzWi8-PDzwfCMemkroZw!!","file_type":1,"url":"http://******/channel_temp/315c82cc777f7835df02863d5b599665.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_wooluauy_XJggNQgL2jAQ"}
2023/11/17 01:49:39 发送成功回执: map[data:map[message_id:0] echo:map[seq:3] message: retcode:0 status:ok]

然后是发送图片给bot,之前是两个IMG在text前后,现在变成了IMG在text之前,指令变得无法识别

2023/11/17 01:50:07 INFO: [ws][ID:c2e3c48a-c703-4335-b09f-d92dd6da0b7f][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":3,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beuz5ljm6yxiwb74u6gcgittxqkgxwpynhysl6q6ws849","d":{"attachments":[{"content_type":"image/png","filename":"7F22088460DB3C1A49B763D8BC39389C.png","height":570,"size":618549,"url":"https://gchat.qpic.cn/gchatpic_new/1134319786/1134319786-3075772280-7F22088460DB3C1A49B763D8BC39389C/0?vuin=2669735640\u0026term=0\u0026is_origin=2\u0026is_ntv2=1","width":954}],"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" /怎么拆 ","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuUnjXgInjTLK2JQ488A4wKUbxhQ7EEBeYXiSOxHQwo4MR5ZAa0RsxaDexZgPXfcnqA!!","timestamp":"2023-11-17T09:50:05+08:00"}}
2023/11/17 01:50:07 RawMessage: 怎么拆[CQ:image,file=7F22088460DB3C1A49B763D8BC39389C.image,subType=0,url=https://gchat.qpic.cn/gchatpic_new/1134319786/1134319786-3075772280-7F22088460DB3C1A49B763D8BC39389C/0?vuin=2669735640&term=0&is_origin=2&is_ntv2=1]
2023/11/17 01:50:07 MessageID: 515
2023/11/17 01:50:07 GroupID: 1
2023/11/17 01:50:07 MessageType: group
2023/11/17 01:50:07 PostType: message
2023/11/17 01:50:07 SelfID: 102076100
2023/11/17 01:50:07 Sender: {  2 owner}
2023/11/17 01:50:07 SubType: normal
2023/11/17 01:50:07 Time: ******
2023/11/17 01:50:07 Avatar: 
2023/11/17 01:50:07 Echo: 
2023/11/17 01:50:07 Message: [map[data:map[file:7F22088460DB3C1A49B763D8BC39389C.image subType:0 url:https://gchat.qpic.cn/gchatpic_new/1134319786/1134319786-3075772280-7F22088460DB3C1A49B763D8BC39389C/0?vuin=2669735640&term=0&is_origin=2&is_ntv2=1] type:image] map[data:map[text:怎么拆] type:text]]
2023/11/17 01:50:07 MessageSeq: 0
2023/11/17 01:50:07 Font: 0
2023/11/17 01:50:07 UserID: 2
yuuki-nya commented 11 months ago

https://github.com/Hoshinonyaruko/Gensokyo/actions/runs/6899072573 识图问题已修复,发多图问题依旧

2023/11/17 02:49:23 INFO: [ws][ID:60308fab-f467-4e7f-a330-2c324b845073][Shard:(0/1)][Intent:1107300352] receive Event message, {"op":0,"s":6,"t":"GROUP_AT_MESSAGE_CREATE","id":"GROUP_AT_MESSAGE_CREATE:k0fiwvjj0f0uq030beuwe1wtdr8mkbd8c0ri84krxqkgxwpynhysl6q6ws849","d":{"author":{"id":"E80EB3BBFFE27EA79F3D02FFFF24B832","member_openid":"E80EB3BBFFE27EA79F3D02FFFF24B832"},"content":" brank","group_id":"6D55448EE46136AFF80DACAA2A38C2C3","group_openid":"6D55448EE46136AFF80DACAA2A38C2C3","id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY0K1aTy7K8VALw8wiajzWwQcFoTs226taFlIw989TN.R5ZAa0RsxaDexZgPXfcnqA!!","timestamp":"2023-11-17T10:49:21+08:00"}}
2023/11/17 02:49:23 RawMessage: brank
2023/11/17 02:49:23 MessageID: 547
2023/11/17 02:49:23 GroupID: 1
2023/11/17 02:49:23 MessageType: group
2023/11/17 02:49:23 PostType: message
2023/11/17 02:49:23 SelfID: 102076100
2023/11/17 02:49:23 Sender: {  2 owner}
2023/11/17 02:49:23 SubType: normal
2023/11/17 02:49:23 Time: 1700189363
2023/11/17 02:49:23 Avatar: 
2023/11/17 02:49:23 Echo: 
2023/11/17 02:49:23 Message: [map[data:map[text:brank] type:text]]
2023/11/17 02:49:23 MessageSeq: 0
2023/11/17 02:49:23 Font: 0
2023/11/17 02:49:23 UserID: 2
2023/11/17 02:49:23 Received from onebotv11 server raw: {"action": "send_msg", "params": {"group_id": 1, "message_type": "group", "user_id": 2, "message": [{"type": "text", "data": {"text": "\n\u8868\u683c\u4ec5\u4f9b\u53c2\u8003\n\u203b\u4e0d\u5b9a\u671f\u642c\u8fd0\u81eaB\u7ad9\u4e13\u680f\n\u203b\u5236\u4f5cby\u82b1\u821e\u7ec4\nR23-3 rank\u8868\uff1a\n"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"}}, {"type": "image", "data": {"file": "file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"}}]}, "echo": {"seq": 16}}
2023/11/17 02:49:23 Received from onebotv11 server: Action: send_msg, Params: {"botqq":"","channel_id":"","guild_id":"","group_id":"1","message":[{"data":{"text":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n"},"type":"text"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png"},"type":"image"},{"data":{"file":"file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png"},"type":"image"}],"user_id":"2"}, Echo: map[seq:16]
2023/11/17 02:49:23 appID: 102076100, GroupID: 1
2023/11/17 02:49:23 msgType: group
2023/11/17 02:49:23 params.message is a slice (segment_type_koishi)
2023/11/17 02:49:23 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
[CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png][CQ:image,file=file:///HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png]
Key: local_image, Items: [/HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_1.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_2.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_3.png /HoshinoBot/hoshino/modules/pcr-rank/cache/pic/cn_23-3_4.png]
2023/11/17 02:49:23 群组发信息messageText: 
表格仅供参考
※不定期搬运自B站专栏
※制作by花舞组
R23-3 rank表:
2023/11/17 02:49:23 通过GetMessageIDByUserid函数获取的message_id: ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY0K1aTy7K8VALw8wiajzWwQcFoTs226taFlIw989TN.R5ZAa0RsxaDexZgPXfcnqA!!
2023/11/17 02:49:23 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/messages, traceID:9ffbfbfa41b49f0b74d275734ffb3061, status:200 OK, elapsed:328.10966ms req: {"content":"\n表格仅供参考\n※不定期搬运自B站专栏\n※制作by花舞组\nR23-3 rank表:\n","msg_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY0K1aTy7K8VALw8wiajzWwQcFoTs226taFlIw989TN.R5ZAa0RsxaDexZgPXfcnqA!!","timestamp":1700189363}, resp: {"group_code":"6D55448EE46136AFF80DACAA2A38C2C3","msg":"success"}
2023/11/17 02:49:23 发送成功回执: map[data:map[message_id:0] echo:map[seq:16] message: retcode:0 status:ok]
2023/11/17 02:49:23 Received base64 data length: 1357188 characters
2023/11/17 02:49:23 Received data size: 1017889 bytes
2023/11/17 02:49:23 Detected image format: png
2023/11/17 02:49:23 richMediaMessage: &{EventID:ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY0K1aTy7K8VALw8wiajzWwQcFoTs226taFlIw989TN.R5ZAa0RsxaDexZgPXfcnqA!! FileType:1 URL:http://******/channel_temp/c183b08cb8412e613284a4d4da9c78a4.png SrvSendMsg:true Content:}
2023/11/17 02:49:24 INFO: [OPENAPI]POST https://api.sgroup.qq.com/v2/groups/6D55448EE46136AFF80DACAA2A38C2C3/files, traceID:43f20190d005bbc0021ab9987d080306, status:200 OK, elapsed:446.180691ms req: {"event_id":"ROBOT1.0_k0-fIwvJj0f.0Uq030BEuY0K1aTy7K8VALw8wiajzWwQcFoTs226taFlIw989TN.R5ZAa0RsxaDexZgPXfcnqA!!","file_type":1,"url":"http://******/channel_temp/c183b08cb8412e613284a4d4da9c78a4.png","srv_send_msg":true}, resp: {"file_uuid":"CgozODg5MDAwNjc3EhRCk5GrxymHJu33QipkTJU0xhTevhihkD4g_woonrnp-ILKggNQgL2jAQ"}
2023/11/17 02:49:24 发送成功回执: map[data:map[message_id:0] echo:map[seq:16] message: retcode:0 status:ok]