Repository navigation
Conversation
Author
|
@RF-Tar-Railt 有空的话帮忙看下这个 PR,CI 好像还在等 maintainer approval,感谢 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
Milky 的
send_group_message_reaction默认使用reaction_type="face"。当前 exporter 未传入该参数,因此 Unicode emoji 的数字 ID(例如10060,对应 ❌)会被当成 QQ 系统表情处理,可能导致回应失败或无法显示。修改
沿用 Alconna 的 QQ adapter 和 OneBot V11
ws-plugin分支已有的数字 ID 分类约定:参考:https://bot.q.qq.com/wiki/develop/api-v2/openapi/emoji/model.html
reaction_type="face"reaction_type="emoji"同时添加数字 ID 校验,并保留现有
is_add=not delete行为,使添加和取消回应使用一致的表情类型。兼容性
项目开发依赖中的
nonebot-adapter-milky>=1.2.0已支持reaction_type参数,无需调整依赖下限。