介绍
这是一个用于游戏 Warframe 的插件,提供游戏内的信息查询功能。
功能列表:
- 查询夜灵平原时间
- 查询本周科研任务
- 时光科研
- 深层科研
- 查询仲裁任务
- 当前仲裁任务与下一次仲裁
- 今日所有仲裁
- 未来 5 个 S 级仲裁时间
- Warframe Market 商品信息查询
- 物品价格查询、满级物品价格查询
- 紫卡价格查询
安装
安装插件
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-aawarframe
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-aawarframe
pdm
pdm add nonebot-plugin-aawarframe
poetry
poetry add nonebot-plugin-aawarframe
conda
conda install nonebot-plugin-aawarframe
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_template"]
安装 Playwright
建议手动安装Playwright,并指定目录,随后在下面的配置中指定相同的目录,避免nonebot-plugin-htmlrender插件报错。
Linux:
PLAYWRIGHT_BROWSERS_PATH=YOUR/PATH python -m playwright install --with-deps chromium
Windows:
$Env:PLAYWRIGHT_BROWSERS_PATH="YOUR/PATH"
playwright install --with-deps chromium
配置
nonebot-plugin-htmlrender
[!IMPORTANT]
项目的图片渲染依赖
nonebot-plugin-htmlrender >= 0.8此版本的
htmlrender需要配置渲染图片所使用的后端,项目依赖playwright后端。htmlrender会在启动时自动检测并安装playwright,但探测路径与默认安装路径不一致,若不手动配置会出现错误。下面是使用本地浏览器的配置说明,如果你希望使用
htmlrender推荐的Docker部署,请查看:远程 Playwright 部署¶
| 配置项 | 值 | 是否必须 | 说明 |
|---|---|---|---|
| RENDER__PROVIDER | playwright | 是 | 指定playwright后端 |
| RENDER__PROVIDER_CONFIG__STORAGE_PATH | 先前的安装目录 | 是 | 指定浏览器安装与探测路径 |
使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 夜灵平原 | 所有人 | 否 | 群聊 | 返回夜灵平原时间 |
| 时光科研 | 所有人 | 否 | 群聊 | 返回本周时光科研 |
| 深层科研 | 所有人 | 否 | 群聊 | 返回本周深层科研 |
| 仲裁 | 所有人 | 否 | 群聊 | 返回当前仲裁和下一次仲裁 |
| 今日仲裁 | 所有人 | 否 | 群聊 | 返回今日所有仲裁 |
| 高效仲裁 | 所有人 | 否 | 群聊 | 返回 5 个接下来的 S 级仲裁 |
效果图
Metadata
Release files for nonebot-plugin-aawarframe 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nonebot_plugin_aawarframe-0.6.0.tar.gz | 1.1 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_aawarframe-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.2 MB
Release files / nonebot_plugin_aawarframe-0.6.0.tar.gz
| Download URL | nonebot_plugin_aawarframe-0.6.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4bc7e240fa320551395aaacf1adf31c5c797e77ab0b29c70d3b7efcde3bafd8
|
|
BLAKE2b-256 checksum How to use checksums |
02e7e48198cac25e56101d763ea7ff2c1b2e5f385e2e638019809a0884daeb57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / nonebot_plugin_aawarframe-0.6.0-py3-none-any.whl
| Download URL | nonebot_plugin_aawarframe-0.6.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4cbeb1eb06a0e39cb69767191ec59068f723bd1c5a78d1fd7dcc61d0f910eae
|
|
BLAKE2b-256 checksum How to use checksums |
8243b426d161247ef57805e914b693d5d747eb0b3834fb9eb5f07d66db6c9a33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for nonebot-plugin-aawarframe 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.