Skip to content

Releases: nonebot/plugin-alconna

Nonebot Plugin Alconna 0.37.1

22 Feb 06:43
Compare
Choose a tag to compare
  • 修复 use_command_start 失效的问题
  • aliases 转为使用 shortcut 实现

Full Changelog: v0.37.0...v0.37.1

Nonebot Plugin Alconna 0.37.0

12 Feb 01:02
Compare
Choose a tag to compare

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

07 Feb 15:23
Compare
Choose a tag to compare

What's Changed

  • VoiceAudio 增加 duration 参数,表示语音时长
  • feishured 适配器支持语音传入时长
  • ⬆️ auto update by pre-commit hooks by @pre-commit-ci in #32
  • 优化文档 by @lengmianzz in #33

New Contributors

Full Changelog: v0.36.2...v0.36.3

Nonebot Plugin Alconna 0.36.2

01 Feb 09:43
Compare
Choose a tag to compare
  • 修复 funcommandCommand 的隐式消息发送

Full Changelog: v0.36.1...v0.36.2

Nonebot Plugin Alconna 0.36.1

01 Feb 08:23
Compare
Choose a tag to compare
  • 不再依赖 fleep 库,而是内置
  • 调整 AlconnaMatcher 的 rule 顺序

Full Changelog: v0.36.0...v0.36.1

Nonebot Plugin Alconna 0.36.0

18 Jan 12:36
Compare
Choose a tag to compare

What's Changed

  • 新增了一个 patch_saa,能够在 nonebot-plugin-send-anything-anywhereMessageFactory.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

02 Jan 07:47
Compare
Choose a tag to compare
  • 修复 UniMessageTemplate 可能被攻击的问题

Full Changelog: v0.35.0...v0.35.1

Nonebot Plugin Alconna 0.35.0

01 Jan 06:35
Compare
Choose a tag to compare

新增

  • Target 新增属性 platformself_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

13 Dec 04:34
Compare
Choose a tag to compare

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

11 Dec 12:45
Compare
Choose a tag to compare

新增

  • Receipt 新增方法 get_reply, 用于从存储的msg_ids 中构建一个 Reply 元素
  • Receipt 新增方法 send, 与 UniMessage.send 类似,其返回值会追加在本身的 msg_ids 中
  • Receipt 新增方法 reply, 是 get_replysend 的组合版本

改进

  • UniMessage.sendreply_to 参数支持直接传入 Reply 元素

Full Changelog: v0.33.9...v0.34.0