Nonebot Plugin Alconna 0.47.0 #54
RF-Tar-Railt
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
新增
UniMessage.filter
方法,在筛选元素类型的同时可以传入自定义判断条件函数patch_matcher_send
方法,可以将matcher.send
替换为经过 UniMessage 翻译过一次后再发送的情况(例如 ob11 -> uni -> satori)help
插件会根据 alc 命令对应的插件的元数据中的适配器支持条目来选择是否在 help 内显示该指令改进
echo
插件使用了ReplyMergeExtension
,即可以通过回复消息并只输入echo
来执行升级
Tarina
至 0.5.4builtin.uniseg.chronocat
改为builtin.uniseg.market_face
, 并实现了现有适配器中关于商城表情的相关解析patch_matcher_send
和patch_saa
会返回一个dispose
函数,用于还原 patch 行为现在
AlconnaMatcher
和AlconnaRule
对 Alconna 都是弱引用Full Changelog: v0.46.6...v0.47.0
This discussion was created from the release Nonebot Plugin Alconna 0.47.0.
Beta Was this translation helpful? Give feedback.
All reactions