We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows
3.10.0
2.3.3
2.6.2
bot在私聊收到消息卡片时报错: TypeError: MessageSegment.interactive() got an unexpected keyword argument 'title'
完整堆栈: 10-18 10:36:16 [INFO] uvicorn | 192.168.40.83:63152 - "POST /feishu/cli_a79a04a4015ed00b HTTP/1.0" 200 Task exception was never retrieved future: <Task finished name='Task-43' coro=<Bot.handle_event() done, defined at E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py:395> exception=TypeError("MessageSegment.interactive() got an unexpected keyword argument 'title'")> Traceback (most recent call last): File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py", line 397, in handle_event _check_at_me(self, event) File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py", line 70, in _check_at_me if not (message := event.get_message()): File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\event.py", line 149, in get_message deserialized = Message.deserialize( File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\message.py", line 686, in deserialize msg.append(seg_builder(**parsed_content)) TypeError: MessageSegment.interactive() got an unexpected keyword argument 'title'
向bot发送消息卡片即可
d
The text was updated successfully, but these errors were encountered:
No branches or pull requests
操作系统
Windows
Python 版本
3.10.0
NoneBot 版本
2.3.3
飞书适配器版本
2.6.2
描述问题
bot在私聊收到消息卡片时报错:
TypeError: MessageSegment.interactive() got an unexpected keyword argument 'title'
完整堆栈:
10-18 10:36:16 [INFO] uvicorn | 192.168.40.83:63152 - "POST /feishu/cli_a79a04a4015ed00b HTTP/1.0" 200
Task exception was never retrieved
future: <Task finished name='Task-43' coro=<Bot.handle_event() done, defined at E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py:395> exception=TypeError("MessageSegment.interactive() got an unexpected keyword argument 'title'")>
Traceback (most recent call last):
File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py", line 397, in handle_event
_check_at_me(self, event)
File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\bot.py", line 70, in _check_at_me
if not (message := event.get_message()):
File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\event.py", line 149, in get_message
deserialized = Message.deserialize(
File "E:\spcae\AlertBot.venv\lib\site-packages\nonebot\adapters\feishu\message.py", line 686, in deserialize
msg.append(seg_builder(**parsed_content))
TypeError: MessageSegment.interactive() got an unexpected keyword argument 'title'
复现步骤
向bot发送消息卡片即可
期望的结果
d
截图或日志
d
The text was updated successfully, but these errors were encountered: