Nonebot Plugin Alconna 0.21.0
What's Changed
AlconnaMatcher
新增方法dispatch
,其作用类似于assign
,但是返回一个新的 Matcher,该 matcher 的优先级一定低于原 matcher- 除了
Other
与Reply
,其余的 UniSeg 不再接受origin
Media
类通用标注增加字段raw: bytes
+
操作现在可用于通用标注与通用消息上:msg = At("user", "123") + "abc" + Image(path="path/to/img") reveal_type(msg) # UniMessage(Union[At, str, Image])
- 新增依赖注入器
UniversalSegment(type: TS, index: int = 0)
- ⬆️ Bump actions/checkout from 3 to 4 by @dependabot in #4
New Contributors
- @dependabot made their first contribution in #4
Full Changelog: v0.20.0...v0.21.0