Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump nonebot-plugin-alconna from 0.45.4 to 0.50.3 #30

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps nonebot-plugin-alconna from 0.45.4 to 0.50.3.

Release notes

Sourced from nonebot-plugin-alconna's releases.

Nonebot Plugin Alconna 0.50.3

  • 修复 CommandResult.source 获取错误的问题

Full Changelog: nonebot/plugin-alconna@v0.50.2...v0.50.3

v0.50.2

What's Changed

New Contributors

Full Changelog: nonebot/plugin-alconna@v0.50.1...v0.50.2

Nonebot Plugin Alconna 0.50.1

  • 修复 AlconnaMatcher.send 会调用两次 send_wrapper 的问题
  • UniMessage 新增方法 mapselect
  • 移除非必要的 Segment.from_

Full Changelog: nonebot/plugin-alconna@v0.50.0...v0.50.1

Nonebot Plugin Alconna 0.50.0

新增

  • 增加 ButtonKeyboard 消息段,表示按钮元素与按钮组/按钮矩阵元素。
    • Button 有四种 flag: action, link, input, enter
    • Keyboard 不传入参数 row 时,根据适配器情况自动选择作为一行发送或者换行成按钮矩阵
    • 只传入 Button 或 只传入 Keyboard 时,根据适配器情况自动选择合并为 Keyboard 或展开为 Button
  • 增加内建消息段 Markdown, 负责专门适配 QQ 适配器下的 md消息模板
    • Markdown 只传入了参数 content , 其行为与构造 Text(...).markdown() 相同
      from nonebot_plugin_alconna import Button
      from nonebot_plugin_alconna.builtins.uniseg.markdown import Markdown
      await (
      Markdown(
      template_id="102060544_1720161790",
      params={
      "text": ["a"],
      "image_spec": ["#1024px #648px"],
      "image": ["http://res.dunnoaskrf.top/gacha_sim_910f39dca8bb930cc35175f23289dd65.png"],
      },
      )
      + Button("enter", "再来一发", text="/十连")
      ).send()

  • UniMessage 新增若干方法:
    • transform & tansform_async: 遍历消息并依据传入的规则对消息内容进行替换/验证
    • split: 和 str.split 差不多, 提供一个字符串, 然后返回分割结果.
    • startswith & endswith: 断消息链是否以给出的字符串开头/结尾

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nonebot-plugin-alconna](https://github.com/nonebot/plugin-alconna) from 0.45.4 to 0.50.3.
- [Release notes](https://github.com/nonebot/plugin-alconna/releases)
- [Commits](nonebot/plugin-alconna@v0.45.4...v0.50.3)

---
updated-dependencies:
- dependency-name: nonebot-plugin-alconna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 12, 2024

Superseded by #32.

@dependabot dependabot bot closed this Aug 12, 2024
@dependabot dependabot bot deleted the dependabot/pip/master/nonebot-plugin-alconna-0.50.3 branch August 12, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants