Skip to main content

蔚蓝档案 GameKee Wiki 攻略查询

Project description

logo

✨ nonebot-plugin-ba-gamekee ✨

LICENSE python Adapters

uv ruff

📖 介绍

nonebot-plugin-ba-gamekee 是面向 Blue Archive / 蔚蓝档案的 GameKee Wiki 攻略查询插件。

当前已支持查询三服当前活动攻略与卡池评测入口,并会在后台同步 GameKee 首页入口缓存,减少实时请求压力。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-ba-gamekee --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-ba-gamekee --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-ba-gamekee --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-ba-gamekee

安装仓库 main 分支

uv add git+https://github.com/Misty02600/nonebot-plugin-ba-gamekee@main
pdm
pdm add nonebot-plugin-ba-gamekee

安装仓库 main 分支

pdm add git+https://github.com/Misty02600/nonebot-plugin-ba-gamekee@main
poetry
poetry add nonebot-plugin-ba-gamekee

安装仓库 main 分支

poetry add git+https://github.com/Misty02600/nonebot-plugin-ba-gamekee@main

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_ba_gamekee"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-ba-gamekee

使用 pypi 源安装

nbr plugin install nonebot-plugin-ba-gamekee -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-ba-gamekee -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

插件使用 nonebot_plugin_localstore 储存数据和缓存,并使用 apscheduler 定时刷新 GameKee 首页入口。

可在 nonebot2 项目的 .env 文件中按需覆盖下表配置。

配置项 必填 默认值 说明
ba_gamekee_refresh_interval_minutes 10 后台刷新当前攻略入口缓存的间隔,单位为分钟

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/ba活动 日服 群员 私聊/群聊 查询当前日服活动攻略
/ba活动 国际服 群员 私聊/群聊 查询当前国际服活动攻略
/ba活动 国服 群员 私聊/群聊 查询当前国服活动攻略
/ba卡池 日服 群员 私聊/群聊 查询当前日服卡池评测
/ba卡池 国际服 群员 私聊/群聊 查询当前国际服卡池评测
/ba卡池 国服 群员 私聊/群聊 查询当前国服卡池评测

ba 与子命令之间可以加空格,例如 /ba 活动 国际服/ba 卡池 国服。子命令与服务器参数之间需要分隔。

🎨 效果图

如果有效果图的话

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_ba_gamekee-0.2.0.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_ba_gamekee-0.2.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_ba_gamekee-0.2.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_ba_gamekee-0.2.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_ba_gamekee-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a4763ebe07de29d3f3281e95e88b9355eb9973272d4a575be2f133d882a0434e
MD5 2316734f2d1f4877566cc4f14fec26e4
BLAKE2b-256 53e11313b5347f2e4750176106a1bd785bcb3a2a84f7b985b737ab5f0c6c1627

See more details on using hashes here.

File details

Details for the file nonebot_plugin_ba_gamekee-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_ba_gamekee-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_ba_gamekee-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93cefebfa16ef76958afc141dbbe6637ef220e980b7f7de62a126f23a5a85f0d
MD5 cf2c03fc11011d94631761c1835e9a9c
BLAKE2b-256 a0dd70d0a16fbb994ada9d42642aca80e05de0a34576eab854ae3ee98a23f912

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page