https://github.com/monsterxcn/nonebot-plugin-gsabyss
🤖 NoneBot2 原神深境螺旋数据查询插件,数据来源 Honey Hunter World & Akasha Database
https://github.com/monsterxcn/nonebot-plugin-gsabyss
abyss genshin nonebot2
Last synced: 10 days ago
JSON representation
🤖 NoneBot2 原神深境螺旋数据查询插件,数据来源 Honey Hunter World & Akasha Database
- Host: GitHub
- URL: https://github.com/monsterxcn/nonebot-plugin-gsabyss
- Owner: monsterxcn
- License: mit
- Created: 2023-02-05T15:10:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T06:59:28.000Z (over 1 year ago)
- Last Synced: 2025-04-11T13:58:39.510Z (about 1 month ago)
- Topics: abyss, genshin, nonebot2
- Language: Python
- Homepage: https://pypi.python.org/pypi/nonebot-plugin-gsabyss
- Size: 6.34 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NoneBot Plugin GsAbyss
🤖 用于展示原神深境螺旋数据的 NoneBot2 插件
|  |  |  |
|:--:|:--:|:--:|## 安装方法
如果你正在使用 2.0.0.beta1 以上版本 NoneBot2,推荐使用以下命令安装:
```bash
# 从 nb_cli 安装
nb plugin install nonebot-plugin-gsabyss
```## 插件配置
一般来说,此插件安装后无需任何配置即可使用。你也可以根据需要配置以下环境变量:
| 环境变量 | 必需 | 默认 | 说明 |
|:-------|:----:|:-----|:----|
| `gsabyss_dir` | 否 | `data/gsabyss` | 插件数据缓存目录 |
| `gsabyss_priority` | 否 | 10 | 插件响应优先级。触发本插件功能的消息无法被优先级低于此配置的其他插件处理 |
| `hhw_mirror` | 否 | `https://genshin.honeyhunterworld.com/img/` | 素材图片下载镜像,**暂不可用** |## 命令说明
### 深渊速览
插件响应以 `速览` / `深渊速览` 开头的消息,并且阻止事件继续向下传播。默认返回 **本期** **12** 层 **全层** 的深渊速览图片。
你也可以通过合理搭配下面格式的参数限定查找的内容。各参数按空格分开即可,顺序随意。
| 可选附带参数 | 说明 |
|:--------|:-----|
| `12` / `十二` / `十二层` / `第12层` / ... | 查询指定层全层的深渊速览 |
| `12-3` / `12—3` / `12-3` / `12_3` / ... | 查询指定层指定间的深渊速览 |
| `上期` / `下期` | 查询上期或下期的深渊速览 |
| `三月上` / `22年3月上` / `2022年三月上` / ... | 查询指定时间的深渊速览 |### 深渊统计
插件 **仅响应** `深渊统计` 消息,不可附带任何参数,并且阻止事件继续向下传播。默认返回虚空数据库(Akasha Database)最新的深渊统计图片。
## 特别鸣谢
[@nonebot/nonebot2](https://github.com/nonebot/nonebot2/) | [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) | [Honey Hunter World](https://genshin.honeyhunterworld.com/d_1001/) | [Akasha Database](https://akashadata.com/)
> 深渊数据解析采用 [parse-hhw-abyss](https://github.com/monsterxcn/parse-hhw-abyss) 分离控制