Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ AstrBot 原生《断箭》(Broken Arrow)战绩查询插件。支持玩家概

## 开发与许可

- 宿主基线:AstrBot **v4.29.4**(详细测试与验证记录见 [验证记录](docs/VALIDATION.md))。
- 运行要求:AstrBot **4.29.4 及以上**,QQ(OneBot v11);详细测试与验证记录见 [验证记录](docs/VALIDATION.md)。
- 开源协议:**Apache-2.0**。
- 致谢与参考:[BATrace](https://dash.batrace.top/)(战绩数据源)、[AlexanderHYu/ba-dragon](https://github.com/AlexanderHYu/ba-dragon)、[benx1n/wows-stats-bot](https://github.com/benx1n/wows-stats-bot)、[timeance/astrbot_plugin_openai_native](https://github.com/timeance/astrbot_plugin_openai_native)、AstrBot(第三方边界说明见 [第三方说明](docs/THIRD_PARTY.md))。

Expand Down
14 changes: 12 additions & 2 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name: astrbot_plugin_ba_stats
display_name: 断箭战报
desc: "《断箭》(Broken Arrow)玩家查询、账号绑定、近期战绩与单局战报插件(需独立获准的 BATrace 接入)。"
version: v0.1.0
short_desc: "《断箭》玩家战绩查询,支持账号绑定与图片战报。"
desc: "查询《断箭》(Broken Arrow)玩家概览、近期战绩和单局战报,支持账号绑定、群友查询及图片或文字展示。使用前需配置 BATrace 接入。"
version: "0.1.0"
author: timeance
repo: https://github.com/timeance/astrbot_plugin_BA_stats
astrbot_version: ">=4.29.4"
support_platforms:
- aiocqhttp
social_link: https://github.com/timeance
tags:
- 游戏
- 断箭
- Broken Arrow
- 战绩查询
2 changes: 1 addition & 1 deletion tools/build_delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def walk(value, pointer=""):
walk(child, target)
walk(schema)
for number, line in enumerate((ROOT / "metadata.yaml").read_text(encoding="utf-8").splitlines(), 1):
if line.startswith(("display_name:", "desc:")):
if line.startswith(("display_name:", "short_desc:", "desc:")):
key, text = line.split(":", 1)
result.append(dict(id="metadata:" + key, file="metadata.yaml", line=number,
context=key, kind="插件展示信息(名称需用户确认)", original=yaml.safe_load(text), suggestion=""))
Expand Down
Loading