Releases: nonebot/plugin-alconna
Releases · nonebot/plugin-alconna
Nonebot Plugin Alconna 0.37.1
- 修复
use_command_start
失效的问题 aliases
转为使用 shortcut 实现
Full Changelog: v0.37.0...v0.37.1
Nonebot Plugin Alconna 0.37.0
What's Changed
- 适配 Nonebot v2.2.0
- 更新 telegram 适配器,minecraft 适配器
- 更新文档 by @lengmianzz in #35
Full Changelog: v0.36.3...v0.37.0
Nonebot Plugin Alconna 0.36.3
What's Changed
Voice
与Audio
增加duration
参数,表示语音时长feishu
与red
适配器支持语音传入时长- ⬆️ auto update by pre-commit hooks by @pre-commit-ci in #32
- 优化文档 by @lengmianzz in #33
New Contributors
- @lengmianzz made their first contribution in #33
Full Changelog: v0.36.2...v0.36.3
Nonebot Plugin Alconna 0.36.2
- 修复
funcommand
与Command
的隐式消息发送
Full Changelog: v0.36.1...v0.36.2
Nonebot Plugin Alconna 0.36.1
- 不再依赖
fleep
库,而是内置 - 调整 AlconnaMatcher 的 rule 顺序
Full Changelog: v0.36.0...v0.36.1
Nonebot Plugin Alconna 0.36.0
What's Changed
- 新增了一个
patch_saa
,能够在nonebot-plugin-send-anything-anywhere
的MessageFactory.send
遇到不支持的平台时转用uniseg
发送 - 新增元素
Custom
,可以由用户自定义设置序列化与反序列化:from nonebot_plugin_alconna import Custom, custom_register class MyCustom(Custom): def export(self, msg_type: Message): return msg_type.get_segment_class()("foo", {"bar": 123}) @custom_register(MyCustom, "foo") def create(seg: MessageSegment): return MyCustom("foo", {"bar": 123})
- ⬆️ auto update by pre-commit hooks by @pre-commit-ci in #30
- 修复
satori
适配器解析at
元素的问题
Full Changelog: v0.35.1...v0.36.0
Nonebot Plugin Alconna 0.35.1
- 修复
UniMessageTemplate
可能被攻击的问题
Full Changelog: v0.35.0...v0.35.1
Nonebot Plugin Alconna 0.35.0
新增
Target
新增属性platform
与self_id
,指定后可不用传入 bot 参数(若上下文已存在 bot 对象则优先使用该 bot)Target
新增方法send
,与UniMessage.send
等同AlconnaMatcher
新增方法waiter
,具体参照 https://github.com/RF-Tar-Railt/nonebot-plugin-waiter
修复
- 修复 QQ 适配器下的 reply 处理问题
Full Changelog: v0.34.1...v0.35.0
Nonebot Plugin Alconna 0.34.1
What's Changed
- ⬆️ Upgrade Kook Adapter in #29
- ⬆️ Bump actions/setup-python from 4 to 5 by @dependabot in #28
Full Changelog: v0.34.0...v0.34.1
Nonebot Plugin Alconna 0.34.0
新增
Receipt
新增方法get_reply
, 用于从存储的msg_ids 中构建一个 Reply 元素Receipt
新增方法send
, 与UniMessage.send
类似,其返回值会追加在本身的 msg_ids 中Receipt
新增方法reply
, 是get_reply
与send
的组合版本
改进
UniMessage.send
的reply_to
参数支持直接传入Reply
元素
Full Changelog: v0.33.9...v0.34.0