Skip to main content

堡垒之夜插件

Project description

logo

✨ nonebot-plugin-fortnite ✨

LICENSE pypi python uv
ruff pre-commit codecov

📖 介绍

堡垒之夜战绩/季卡/商城/vb图查询插件

自用插件,发来凑个数(万一玩nb的也有人玩堡垒的呢

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-fortnite --upgrade
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-fortnite
pdm
pdm add nonebot-plugin-fortnite
poetry
poetry add nonebot-plugin-fortnite
conda
conda install nonebot-plugin-fortnite

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

plugins = ["nonebot_plugin_fortnite"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
fortnite_api_key '' api-key
fortnite_screenshot_from_github false 是否从 GitHub 分支下载截图(而非实时截图)

🎉 使用

指令表

指令 权限 需要@ 范围 说明
[生涯]战绩 - - 顾名思义
[生涯]季卡 - - 顾名思义
商城 - - 顾名思义
vb图 - - 顾名思义
更新商城 主人 - 顾名思义
更新vb图 主人 - 顾名思义

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_fortnite-0.6.8.tar.gz (328.5 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_fortnite-0.6.8-py3-none-any.whl (329.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_fortnite-0.6.8.tar.gz.

File metadata

  • Download URL: nonebot_plugin_fortnite-0.6.8.tar.gz
  • Upload date:
  • Size: 328.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nonebot_plugin_fortnite-0.6.8.tar.gz
Algorithm Hash digest
SHA256 f67a001423ef20fb97d9427fecd8c25cf5e27d96e8960eb77ae07fd306d441af
MD5 446f0a6a7a46cf289ffd51cc854f47dd
BLAKE2b-256 dd16a3f3b7a4bdb6b4c9daf0a7853d7a49778f9e49b658a935f858ff0e100e46

See more details on using hashes here.

File details

Details for the file nonebot_plugin_fortnite-0.6.8-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_fortnite-0.6.8-py3-none-any.whl
Algorithm Hash digest
SHA256 55805f6bd65a6e11a003d0c448a7685d3d5b5c5755aba612bbccd2b303a0f5c6
MD5 a8294c48c0aae229a5a1a97fe7fb7cb5
BLAKE2b-256 80437cc3d5517979c80b3bbbc91ae4f133d7f6830535e13320bdf9b6a4af2549

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