Nonebot Plugin Alconna 0.51.0 #65
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
-
新增
FallbackStrategy.auto
策略,会根据执行每个元素的情况执行最佳的回退策略UniMessage
的序列化&反序列化方法.load
和.dump
,用于持久化消息dump
将消息序列化为 JSON 格式;若不指定 media_save_dir,则会尝试导入nonebot_plugin_localstore
并使用其提供的路径。否则,将会尝试使用当前工作目录。
load 从 JSON 数据加载消息
command_from_json/yaml
和commands_from_json/yaml
函数,用于从 JSON/YAML 文件中加载 Command 对象:with
,用于在当前群组场景内设置一个局部命令前缀。对于包含多个子命令的指令,该插件可以使得此指令进行更加便捷的调用:改进
Text.color
支持了更多的颜色on_alconna
中的配置项参数 (例如use_cmd_start
) 现在为bool | None
类型:修复
image_fetch
by @lgc2333 in Fix: add type annotation forimage_fetch
#61New Contributors
Full Changelog: v0.50.3...v0.51.0
This discussion was created from the release Nonebot Plugin Alconna 0.51.0.
Beta Was this translation helpful? Give feedback.
All reactions