Giter VIP home page Giter VIP logo

nonebot-plugin-fakemsg's Issues

[BUG] 伪造消息失败

描述bug
伪造消息失败

怎么出现的
1.在bot.py中成功加载插件
1.在群内输入伪造消息指令
1.伪造失败,后台报错
……

异常情况
文字报错说明
bot.py

06-30 15:25:20 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_fakemsg, lineno=62) running complete
06-30 15:25:20 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_fakemsg, lineno=62) failed.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Python310\lib\multiprocessing\spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "C:\Program Files\Python310\lib\multiprocessing\spawn.py", line 129, in _main
    return self._bootstrap(parent_sentinel)
  File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 314, in _bootstrap
    self.run()
  File "C:\Program Files\Python310\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\uvicorn\_subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 603, in run_forever
    self._run_once()
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 1909, in _run_once
    handle._run()
  File "C:\Program Files\Python310\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
    await _run_matcher(
> File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\message.py", line 428, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\matcher\matcher.py", line 850, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\matcher\matcher.py", line 825, in simple_run
    await handler(
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\dependencies\__init__.py", line 94, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_fakemsg\__init__.py", line 92, in _
    await send_forward_msg(bot, event, fake_msg_list)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot_plugin_fakemsg\__init__.py", line 124, in send_forward_msg
    return await bot.call_api(
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\adapter\bot.py", line 122, in call_api
    raise exception
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\internal\adapter\bot.py", line 97, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "C:\Users\rain1\AppData\Roaming\Python\Python310\site-packages\nonebot\adapters\onebot\v11\adapter.py", line 146, in _call_api
    raise NetworkError(f"WebSocket call api {api} timeout") from None
nonebot.adapters.onebot.v11.exception.NetworkError: NetWorkError(message='WebSocket call api send_group_forward_msg timeout')

go-cqhttp

[2024-06-30 15:27:00] [ERROR]: 处置WS命令时发生无法恢复的异常:runtime error: index out of range [0] with length 0
goroutine 703 [running]:
runtime/debug.Stack()
        runtime/debug/stack.go:24 +0x65
github.com/Mrs4s/go-cqhttp/server.(*wsConn).handleRequest.func1()
        github.com/Mrs4s/go-cqhttp/server/websocket.go:471 +0x46
panic({0x1113040, 0xc000486390})
        runtime/panic.go:884 +0x213
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).nextAddr(0xc000357310?)
        github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:227 +0xfd
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).selectConn(0x0?)
        github.com/Mrs4s/[email protected]/client/internal/highway/highway.go:248 +0xe5
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).uploadSingle(0xc00016cea0, {0x1b, {0x1263600, 0xc0003390e0}, {0xc000366ef0, 0x10, 0x10}, 0x12e, {0xc0000920e0, 0x68, ...}, ...})
        github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:39 +0x68
github.com/Mrs4s/MiraiGo/client/internal/highway.(*Session).Upload(0xc00016cea0, {0x1b, {0x1263600, 0xc0003390e0}, {0xc000366ef0, 0x10, 0x10}, 0x12e, {0xc0000920e0, 0x68, ...}, ...})
        github.com/Mrs4s/[email protected]/client/internal/highway/bdh.go:117 +0x425
github.com/Mrs4s/MiraiGo/client.(*ForwardMessageBuilder).Main(0xc000357868, 0xc00049a798)
        github.com/Mrs4s/[email protected]/client/multimsg.go:316 +0x5b8
github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).uploadForwardElement(0xc0000b8180, {0x5, {0xc00034ec53, 0x9b}, {0x0, 0x0}, 0x0, 0x53, {0x0, 0x0, ...}}, ...)
        github.com/Mrs4s/go-cqhttp/coolq/api.go:962 +0x1e5
github.com/Mrs4s/go-cqhttp/coolq.(*CQBot).CQSendGroupForwardMessage(0xc0000b8180, 0x0?, {0x5, {0xc00034ec53, 0x9b}, {0x0, 0x0}, 0x0, 0x53, {0x0, ...}})
        github.com/Mrs4s/go-cqhttp/coolq/api.go:978 +0x7d
github.com/Mrs4s/go-cqhttp/modules/api.(*Caller).call(0xc0003f88e0, {0xc00034ec0c, 0x16}, 0x1615620, {0x1265100, 0xc0001427d0})
        github.com/Mrs4s/go-cqhttp/modules/api/api.go:38 +0x1ac5
github.com/Mrs4s/go-cqhttp/modules/api.(*Caller).Call(0xc0003f88e0, {0xc00034ec0c, 0x16}, 0xc00034ec00?, {0x1265100, 0xc0001427d0})
        github.com/Mrs4s/go-cqhttp/modules/api/caller.go:35 +0xc5
github.com/Mrs4s/go-cqhttp/server.(*wsConn).handleRequest(0xc0001e4060, 0x1625680?, {0xc00034ec00?, 0xc000008288?, 0xc00021d960?})
        github.com/Mrs4s/go-cqhttp/server/websocket.go:480 +0x41c
github.com/Mrs4s/go-cqhttp/server.(*websocketClient).listenAPI.func2(0xc0004ba0c0?)
        github.com/Mrs4s/go-cqhttp/server/websocket.go:325 +0x95
created by github.com/Mrs4s/go-cqhttp/server.(*websocketClient).listenAPI
        github.com/Mrs4s/go-cqhttp/server/websocket.go:323 +0x1b2

[2024-06-30 15:27:00] [WARNING]: 监听反向WS Universal时出现错误: read tcp 127.0.0.1:62608->127.0.0.1:8081: use of closed network connection

屏幕截图
这里是截图

版本情况
python:3.10.11
nb-cli:1.4.1
pip:24.1.1
……

额外的说明
这里是额外的描述

[BUG]消息伪造无效

描述bug
调用get_group_member_info,伪造消息无效
llonebot反向ws nonebot2,刚开始调用函数get_group_member_info,llonebot错误,提给llonebot作者后,添加了参数group_id,llonebot未报错,但是伪造还是无效了,求帮助
name = await bot.get_group_member_info(user_id=int(qq), group_id=event.group_id)

屏幕截图
image
image

llonebot日志:

2024/3/19 13:26:07 monika(2767629104): ws 消息上报 ws://127.0.0.1:8080/onebot/v11/ws {"self_id":2767629104,"user_id":1186670822,"time":1710825967,"message_id":-2147454840,"real_id":-2147454840,"message_type":"group","sender":{"user_id":1186670822,"nickname":"青年午报","card":"青年午报","role":"admin"},"raw_message":"2237905521说我是男神吗?|743703324说是的,你最帅","font":14,"sub_type":"normal","message":"2237905521说我是男神吗?|743703324说是的,你最帅","message_format":"string","post_type":"message","group_id":583025344,"raw":{"msgId":"7347941583167247686","msgRandom":"757082436","msgSeq":"309406","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":0,"senderUid":"u_o4mp6yEONbUxE_ePFHK7HA","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825967","msgMeta":"0x","sendStatus":2,"sendRemarkName":"沃德天*童哥*贞帅","sendMemberName":"青年午报","sendNickName":"","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941583167247685","extBufForUI":"0x","textElement":{"content":"2237905521说我是男神吗?|743703324说是的,你最帅","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":true,"generalFlags":"0x","clientSeq":"0","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"1186670822","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454840}} 

2024/3/19 13:26:07 monika(2767629104): 收到反向Websocket消息 {"action":"send_msg","params":{"user_id":1186670822,"group_id":583025344,"message_type":"group","message":[{"type":"text","data":{"text":"正在伪造消息……"}}]},"echo":"7"} 

2024/3/19 13:26:07 monika(2767629104): 消息发送结果 {"msgId":"7422158617172910479","msgRandom":"144317084","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":2,"subMsgType":1,"sendType":1,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"undefined","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825967","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941583167247687","extBufForUI":"0x","textElement":{"content":"正在伪造消息……","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":true,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21129","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454839} 

2024/3/19 13:26:07 monika(2767629104): ws 消息上报 ws://127.0.0.1:8080/onebot/v11/ws {"status":"ok","retcode":0,"data":{"message_id":-2147454839},"message":"","wording":"","echo":"7"} 

2024/3/19 13:26:07 monika(2767629104): 收到反向Websocket消息 {"action":"get_group_member_info","params":{"user_id":2237905521,"group_id":583025344},"echo":"8"} 

2024/3/19 13:26:07 monika(2767629104): ws 消息上报 ws://127.0.0.1:8080/onebot/v11/ws {"status":"ok","retcode":0,"data":{"group_id":583025344,"user_id":2237905521,"nickname":"刘油","card":"罗栋666","sex":"unknown","age":0,"area":"","level":0,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"admin"},"message":"","wording":"","echo":"8"} 

2024/3/19 13:26:07 monika(2767629104): 收到反向Websocket消息 {"action":"get_group_member_info","params":{"user_id":743703324,"group_id":583025344},"echo":"9"} 

2024/3/19 13:26:07 monika(2767629104): ws 消息上报 ws://127.0.0.1:8080/onebot/v11/ws {"status":"ok","retcode":0,"data":{"group_id":583025344,"user_id":743703324,"nickname":"Xxx","card":"太蠢咯","sex":"unknown","age":0,"area":"","level":0,"join_time":0,"last_sent_time":0,"title_expire_time":0,"unfriendly":false,"card_changeable":true,"is_robot":false,"shut_up_timestamp":0,"role":"admin"},"message":"","wording":"","echo":"9"} 

2024/3/19 13:26:07 monika(2767629104): 收到反向Websocket消息 {"action":"send_group_forward_msg","params":{"group_id":583025344,"messages":[{"type":"node","data":{"name":"刘油","uin":"2237905521","content":[{"type":"text","data":{"text":"我是男神吗?"}}]}},{"type":"node","data":{"name":"Xxx","uin":"743703324","content":[{"type":"text","data":{"text":"是的,你最帅"}}]}}]},"echo":"10"} 

2024/3/19 13:26:07 monika(2767629104): [[{"elementType":1,"elementId":"","textElement":{"content":"我是男神吗?","atType":0,"atUid":"","atTinyId":"","atNtUid":""}}]] 

2024/3/19 13:26:07 monika(2767629104): 开始生成转发节点 [{"elementType":1,"elementId":"","textElement":{"content":"我是男神吗?","atType":0,"atUid":"","atTinyId":"","atNtUid":""}}] 

2024/3/19 13:26:08 monika(2767629104): 消息发送结果 {"msgId":"7347941583167247688","msgRandom":"1709725290","msgSeq":"745","cntSeq":"0","chatType":1,"msgType":2,"subMsgType":1,"sendType":1,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"u_UbNCwLm20EZaqvpgbH9nqg","channelId":"","guildId":"undefined","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825968","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941583167247689","extBufForUI":"0x","textElement":{"content":"我是男神吗?","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"","freqLimitInfo":null,"editable":true,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"26973","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"2767629104","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454838} 

2024/3/19 13:26:08 monika(2767629104): 转发节点生成成功 7347941583167247688 

2024/3/19 13:26:08 monika(2767629104): 开始生成转发节点 [{"elementType":1,"elementId":"","textElement":{"content":"是的,你最帅","atType":0,"atUid":"","atTinyId":"","atNtUid":""}}] 

2024/3/19 13:26:08 monika(2767629104): [[{"elementType":1,"elementId":"","textElement":{"content":"是的,你最帅","atType":0,"atUid":"","atTinyId":"","atNtUid":""}}]] 

2024/3/19 13:26:09 monika(2767629104): 消息发送结果 {"msgId":"7347941587481786828","msgRandom":"2027142123","msgSeq":"746","cntSeq":"0","chatType":1,"msgType":2,"subMsgType":1,"sendType":1,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"u_UbNCwLm20EZaqvpgbH9nqg","channelId":"","guildId":"undefined","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825969","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941587481786829","extBufForUI":"0x","textElement":{"content":"是的,你最帅","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"","freqLimitInfo":null,"editable":true,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"26974","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"2767629104","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454837} 

2024/3/19 13:26:09 monika(2767629104): 转发节点生成成功 7347941587481786828 

2024/3/19 13:26:09 monika(2767629104): 开发转发 ["7347941583167247688","7347941587481786828"] 

2024/3/19 13:26:09 monika(2767629104): nodeMsgArray [{"msgId":"7347941583167247688","msgRandom":"1709725290","msgSeq":"745","cntSeq":"0","chatType":1,"msgType":2,"subMsgType":1,"sendType":1,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"u_UbNCwLm20EZaqvpgbH9nqg","channelId":"","guildId":"undefined","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825968","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941583167247689","extBufForUI":"0x","textElement":{"content":"我是男神吗?","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"","freqLimitInfo":null,"editable":true,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"26973","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"2767629104","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454838},{"msgId":"7347941587481786828","msgRandom":"2027142123","msgSeq":"746","cntSeq":"0","chatType":1,"msgType":2,"subMsgType":1,"sendType":1,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"u_UbNCwLm20EZaqvpgbH9nqg","channelId":"","guildId":"undefined","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825969","msgMeta":"0x","sendStatus":2,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":1,"elementId":"7347941587481786829","extBufForUI":"0x","textElement":{"content":"是的,你最帅","atType":0,"atUid":"0","atTinyId":"0","atNtUid":"","subElementType":0,"atChannelId":"0","linkInfo":null,"atRoleId":"0","atRoleColor":0,"atRoleName":"","needNotify":0},"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":null,"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"","freqLimitInfo":null,"editable":true,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"26974","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"2767629104","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454837}] 

2024/3/19 13:26:09 monika(2767629104): 转发消息结果: {"result":0,"errMsg":"success"} [{"msgInfos":[{"msgId":"7347941583167247688","senderShowName":"monika"},{"msgId":"7347941587481786828","senderShowName":"monika"}],"srcContact":{"chatType":1,"peerUid":"u_UbNCwLm20EZaqvpgbH9nqg"},"dstContact":{"chatType":2,"peerUid":"583025344"},"commentElements":[],"msgAttributeInfos":{}},null] 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): ws 消息上报 ws://127.0.0.1:8080/onebot/v11/ws {"status":"ok","retcode":0,"data":{"message_id":-2147454828},"message":"","wording":"","echo":"10"} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

2024/3/19 13:26:09 monika(2767629104): 转发消息成功: {"msgRecord":{"msgId":"7347941591199062326","msgRandom":"2008726232","msgSeq":"309407","cntSeq":"0","chatType":2,"msgType":11,"subMsgType":7,"sendType":5,"senderUid":"u_UbNCwLm20EZaqvpgbH9nqg","peerUid":"583025344","channelId":"","guildId":"","guildCode":"0","fromUid":"0","fromAppid":"0","msgTime":"1710825970","msgMeta":"0x","sendStatus":1,"sendRemarkName":"","sendMemberName":"","sendNickName":"monika","guildName":"","channelName":"","elements":[{"elementType":10,"elementId":"7347941591199062331","extBufForUI":"0x","textElement":null,"faceElement":null,"marketFaceElement":null,"replyElement":null,"picElement":null,"pttElement":null,"videoElement":null,"grayTipElement":null,"arkElement":{"bytesData":"{\"app\":\"com.tencent.multimsg\",\"config\":{\"autosize\":1,\"forward\":1,\"round\":1,\"type\":\"normal\",\"width\":300},\"desc\":\"[聊天记录]\",\"extra\":\"{\\\"filename\\\":\\\"MultiMsg\\\",\\\"tsum\\\":2}\\n\",\"meta\":{\"detail\":{\"news\":[{\"text\":\"monika: 我是男神吗?\"},{\"text\":\"monika: 是的,你最帅\"}],\"resid\":\"\",\"source\":\"monika的聊天记录\",\"summary\":\"查看2条转发消息\",\"uniseq\":\"MultiMsg\"}},\"prompt\":\"[聊天记录]\",\"ver\":\"0.0.0.5\",\"view\":\"contact\"}\n","linkInfo":null,"subElementType":null},"fileElement":null,"liveGiftElement":null,"markdownElement":null,"structLongMsgElement":null,"multiForwardMsgElement":null,"giphyElement":null,"walletElement":null,"inlineKeyboardElement":null,"textGiftElement":null,"calendarElement":null,"yoloGameResultElement":null,"avRecordElement":null,"structMsgElement":null,"faceBubbleElement":null,"shareLocationElement":null,"tofuRecordElement":null,"taskTopMsgElement":null}],"records":[],"emojiLikesList":[],"commentCnt":"0","directMsgFlag":0,"directMsgMembers":[],"peerName":"禁止白嫖","freqLimitInfo":null,"editable":false,"avatarMeta":"","avatarPendant":"","feedId":"","roleId":"0","timeStamp":"0","clientIdentityInfo":null,"isImportMsg":false,"atType":0,"roleType":0,"fromChannelRoleInfo":{"roleId":"0","name":"","color":0},"fromGuildRoleInfo":{"roleId":"0","name":"","color":0},"levelRoleInfo":{"roleId":"0","name":"","color":0},"recallTime":"0","isOnlineMsg":false,"generalFlags":"0x","clientSeq":"21130","fileGroupSize":null,"foldingInfo":null,"multiTransInfo":null,"senderUin":"2767629104","peerUin":"583025344","msgAttrs":{},"anonymousExtInfo":null,"nameType":0,"avatarFlag":0,"extInfoForUI":null,"personalMedal":null,"categoryManage":0,"msgShortId":-2147454828}} 

[BUG]TypeError: Too many parameters for typing.List; actual 2, expected 1

描述bug
09-04 14:27:40 [ERROR] nonebot | Failed to import "nonebot_plugin_fakemsg"
Traceback (most recent call last):
File "D:\BOT\zhenxun_bot\bot.py", line 16, in
nonebot.load_plugins("extensive_plugin")
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\plugin\load.py", line 48, in load_plugins
return manager.load_all_plugins()
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\plugin\manager.py", line 175, in load_all_plugins
return set(
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\plugin\manager.py", line 176, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\plugin\manager.py", line 145, in load_plugin
module = importlib.import_module(
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\plugin\manager.py", line 241, in exec_module
super().exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\BOT\zhenxun_bot\extensive_plugin\nonebot_plugin_fakemsg_init
.py", line 83, in
user_message: List[Tuple[str, str, Message], Any],
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\typing.py", line 312, in inner
return func(*args, **kwds)
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\typing.py", line 1144, in getitem
_check_generic(self, params, self._nparams)
File "C:\Users\550N\AppData\Local\Programs\Python\Python310\lib\site-packages\typing_extensions.py", line 164, in _check_generic
raise TypeError(f"Too {'many' if alen > elen else 'few'} parameters for {cls};"
TypeError: Too many parameters for typing.List; actual 2, expected 1

版本情况
python:3.10
nb2.0

[BUG]伪造消息失败

描述bug
伪造消息失败

怎么出现的

  1. 在bot.py中成功加载插件
  2. 在群内输入伪造消息指令
  3. 伪造失败,后台报错
    ……

异常情况
日志如下

02-16 17:16:11 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_fakemsg, lineno=60) failed.
Traceback (most recent call last):
  File "/data/nb/bot.py", line 29, in <module>
    nonebot.run(app="__mp_main__:app")
  File "/usr/local/lib/python3.10/dist-packages/nonebot/__init__.py", line 333, in run
    get_driver().run(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/drivers/fastapi.py", line 185, in run
    uvicorn.run(
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/main.py", line 587, in run
    server.run()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/server.py", line 62, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/message.py", line 476, in check_and_run_matcher
    await _run_matcher(
> File "/usr/local/lib/python3.10/dist-packages/nonebot/message.py", line 428, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/matcher/matcher.py", line 842, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/matcher/matcher.py", line 817, in simple_run
    await handler(
  File "/usr/local/lib/python3.10/dist-packages/nonebot/dependencies/__init__.py", line 106, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_fakemsg/__init__.py", line 76, in _
    name = await bot.get_stranger_info(user_id=qq)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/adapter/bot.py", line 122, in call_api
    raise exception
  File "/usr/local/lib/python3.10/dist-packages/nonebot/internal/adapter/bot.py", line 97, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "/usr/local/lib/python3.10/dist-packages/nonebot/adapters/onebot/v11/adapter.py", line 147, in _call_api
    return handle_api_result(await self._result_store.fetch(seq, timeout))
  File "/usr/local/lib/python3.10/dist-packages/nonebot/adapters/onebot/v11/utils.py", line 58, in handle_api_result
    raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(status='failed', retcode=404, data=None, echo='3')

屏幕截图

版本情况
python: 3.10.12
nb-cli: 1.3.0
pip: 24.0
……

额外的说明

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.