Nonebot Plugin Alconna 0.42.0 #45
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
-
What's Changed
Target
新增属性selector
,scope
和platform
,原platform
字段改为adapter
selector
负责从 bots 中选择符合条件的具体 Bot 实例,scope
可以选择插件内置的selector
,adapter
和platform
用于先验条件:SupportScope
:Receipt
增加属性recallable
和editable
, 用来判断是否能够撤回消息和编辑消息MediaToUrl
函数增加参数bot: Bot
get_bot
可以传入predicate
参数,原adapter
作为构建 predicate 的便捷方式Full Changelog: v0.41.1...v0.42.0
This discussion was created from the release Nonebot Plugin Alconna 0.42.0.
Beta Was this translation helpful? Give feedback.
All reactions