-
-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
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
Fix: 修复 MessageSegment 在有额外数据时报错 #1055
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1055 +/- ##
==========================================
+ Coverage 77.95% 77.97% +0.01%
==========================================
Files 42 42
Lines 3162 3164 +2
==========================================
+ Hits 2465 2467 +2
Misses 697 697
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
🚀 Deployed on https://deploy-preview-1055--nonebot2.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有办法让额外数据留下了吗👀
没有,在nonebot里就只应该存在type和data这也和onebot无关,只能说这个pr允许了从一个杂乱的dict里提取需要的type和data |
当 dict 存在额外数据时会导致报错