Skip to main content

蔚蓝档案 GameKee Wiki 攻略查询

Project description

logo

✨ nonebot-plugin-ba-gamekee ✨

LICENSE python Adapters

uv ruff

📖 介绍

直接从 GameKee BA 分区拉取攻略并渲染成图的 BA 插件,避免人工从多数据源维护整理数据。

💿 安装

使用 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卡池 <服务器> 群员 私聊/群聊 查询当前卡池评测

支持服务器:日服国际服国服

🎨 效果图

如果有效果图的话

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.1.tar.gz (20.3 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.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_ba_gamekee-0.2.1.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.1.tar.gz
Algorithm Hash digest
SHA256 e158241be89665fb1bbd23e4357c5022b8033da06c8371b0d93d3d4df28cbbf8
MD5 ec53ecc4b87ac16bd2e14dd1ae97387e
BLAKE2b-256 344afae588085b2a53645c3074cf0ec1e66cfdf8aa3018d6fec3d5498e1e08f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nonebot_plugin_ba_gamekee-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 409c37c7933dbd37a23bcf765fee1dc28b3a2771e695e1b40d666445dd7d8fda
MD5 5cdb9543c1b5b9ea71ed3db07832dc20
BLAKE2b-256 9ac5096707093781fd919a46dc1bf0ac6fdbfb0a531b4105eb32ea24f3aac90d

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