Closed ProblemFactory closed 1 year ago
在使用nonebot_plugin_epicfree插件时遇到了调用py-plugin/nonebot/adapters/onebot/v11/bot.py中send_group_forward_msg失败的问题。此时messages中的元素为type为node的MessageSegment类型,需要使用i.data['nickname'], i.data['user_id']和i.data['content']读取其中内容而不是i['data']['name'], i['data']['uin'], i['data']['content']
py-plugin/nonebot/adapters/onebot/v11/bot.py
send_group_forward_msg
i.data['nickname']
i.data['user_id']
i.data['content']
i['data']['name']
i['data']['uin']
i['data']['content']
已修复
在使用nonebot_plugin_epicfree插件时遇到了调用
py-plugin/nonebot/adapters/onebot/v11/bot.py
中send_group_forward_msg
失败的问题。此时messages中的元素为type为node的MessageSegment类型,需要使用i.data['nickname']
,i.data['user_id']
和i.data['content']
读取其中内容而不是i['data']['name']
,i['data']['uin']
,i['data']['content']