nonebot-plugin-gsabyss


Namenonebot-plugin-gsabyss JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/monsterxcn/nonebot-plugin-gsabyss
SummaryGenshin spiral abyss plugin for NoneBot2
upload_time2023-10-03 07:00:48
maintainer
docs_urlNone
authormonsterxcn
requires_python>=3.8.1,<4.0
licenseMIT
keywords nonebot nonebot2 genshin abyss
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">NoneBot Plugin GsAbyss</h1></br>


<p align="center">🤖 用于展示原神深境螺旋数据的 NoneBot2 插件</p></br>


<p align="center">
  <a href="https://raw.githubusercontent.com/monsterxcn/nonebot-plugin-gsabyss/master/LICENSE"><img src="https://img.shields.io/github/license/monsterxcn/nonebot-plugin-gsabyss" alt="license" /></a>
  <a href="https://pypi.python.org/pypi/nonebot-plugin-gsabyss"><img src="https://img.shields.io/pypi/v/nonebot-plugin-gsabyss" alt="pypi" /></a>
  <a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3.8+-blue" alt="python" /></a>
  <a href="https://jq.qq.com/?_wv=1027&k=GF2vqPgf"><img src="https://img.shields.io/badge/QQ%E7%BE%A4-662597191-orange" alt="QQ Chat Group" /></a><br />
  <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black" /></a>
  <a href="https://pycqa.github.io/isort"><img src="https://img.shields.io/badge/%20imports-isort-%231674b1?&labelColor=ef8336" alt="Imports: isort" /></a>
  <a href="https://flake8.pycqa.org/"><img src="https://img.shields.io/badge/lint-flake8-&labelColor=4c9c39" alt="Lint: flake8" /></a>
  <a href="https://results.pre-commit.ci/latest/github/monsterxcn/nonebot-plugin-gsabyss/main"><img src="https://results.pre-commit.ci/badge/github/monsterxcn/nonebot-plugin-gsabyss/main.svg" alt="pre-commit" /></a>
</p></br>


| ![全层](https://user-images.githubusercontent.com/22407052/217551477-a0a252a9-31b4-4bb0-8b08-41cfe26679d6.jpg) | ![单间](https://user-images.githubusercontent.com/22407052/217551559-4f75ad13-1a74-42e1-adfc-06c6b0521263.jpg) | ![统计](https://user-images.githubusercontent.com/22407052/218297626-463b5ab3-8500-4337-980f-000bb4289439.png) |
|:--:|:--:|:--:|


## 安装方法


如果你正在使用 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) 分离控制


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/monsterxcn/nonebot-plugin-gsabyss",
    "name": "nonebot-plugin-gsabyss",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.1,<4.0",
    "maintainer_email": "",
    "keywords": "nonebot,nonebot2,genshin,abyss",
    "author": "monsterxcn",
    "author_email": "monsterxcn@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ea/c7/13543689566e7ec1df30fdd407a6aad37b0dc0331e726e3c0505d1502148/nonebot_plugin_gsabyss-0.1.5.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">NoneBot Plugin GsAbyss</h1></br>\n\n\n<p align=\"center\">\ud83e\udd16 \u7528\u4e8e\u5c55\u793a\u539f\u795e\u6df1\u5883\u87ba\u65cb\u6570\u636e\u7684 NoneBot2 \u63d2\u4ef6</p></br>\n\n\n<p align=\"center\">\n  <a href=\"https://raw.githubusercontent.com/monsterxcn/nonebot-plugin-gsabyss/master/LICENSE\"><img src=\"https://img.shields.io/github/license/monsterxcn/nonebot-plugin-gsabyss\" alt=\"license\" /></a>\n  <a href=\"https://pypi.python.org/pypi/nonebot-plugin-gsabyss\"><img src=\"https://img.shields.io/pypi/v/nonebot-plugin-gsabyss\" alt=\"pypi\" /></a>\n  <a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/badge/python-3.8+-blue\" alt=\"python\" /></a>\n  <a href=\"https://jq.qq.com/?_wv=1027&k=GF2vqPgf\"><img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-662597191-orange\" alt=\"QQ Chat Group\" /></a><br />\n  <a href=\"https://github.com/psf/black\"><img src=\"https://img.shields.io/badge/code%20style-black-000000.svg\" alt=\"Code style: black\" /></a>\n  <a href=\"https://pycqa.github.io/isort\"><img src=\"https://img.shields.io/badge/%20imports-isort-%231674b1?&labelColor=ef8336\" alt=\"Imports: isort\" /></a>\n  <a href=\"https://flake8.pycqa.org/\"><img src=\"https://img.shields.io/badge/lint-flake8-&labelColor=4c9c39\" alt=\"Lint: flake8\" /></a>\n  <a href=\"https://results.pre-commit.ci/latest/github/monsterxcn/nonebot-plugin-gsabyss/main\"><img src=\"https://results.pre-commit.ci/badge/github/monsterxcn/nonebot-plugin-gsabyss/main.svg\" alt=\"pre-commit\" /></a>\n</p></br>\n\n\n| ![\u5168\u5c42](https://user-images.githubusercontent.com/22407052/217551477-a0a252a9-31b4-4bb0-8b08-41cfe26679d6.jpg) | ![\u5355\u95f4](https://user-images.githubusercontent.com/22407052/217551559-4f75ad13-1a74-42e1-adfc-06c6b0521263.jpg) | ![\u7edf\u8ba1](https://user-images.githubusercontent.com/22407052/218297626-463b5ab3-8500-4337-980f-000bb4289439.png) |\n|:--:|:--:|:--:|\n\n\n## \u5b89\u88c5\u65b9\u6cd5\n\n\n\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528 2.0.0.beta1 \u4ee5\u4e0a\u7248\u672c NoneBot2\uff0c\u63a8\u8350\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a\n\n\n```bash\n# \u4ece nb_cli \u5b89\u88c5\nnb plugin install nonebot-plugin-gsabyss\n```\n\n\n## \u63d2\u4ef6\u914d\u7f6e\n\n\n\u4e00\u822c\u6765\u8bf4\uff0c\u6b64\u63d2\u4ef6\u5b89\u88c5\u540e\u65e0\u9700\u4efb\u4f55\u914d\u7f6e\u5373\u53ef\u4f7f\u7528\u3002\u4f60\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u8981\u914d\u7f6e\u4ee5\u4e0b\u73af\u5883\u53d8\u91cf\uff1a\n\n\n| \u73af\u5883\u53d8\u91cf | \u5fc5\u9700 | \u9ed8\u8ba4 | \u8bf4\u660e |\n|:-------|:----:|:-----|:----|\n| `gsabyss_dir` | \u5426 | `data/gsabyss` | \u63d2\u4ef6\u6570\u636e\u7f13\u5b58\u76ee\u5f55 |\n| `gsabyss_priority` | \u5426 | 10 | \u63d2\u4ef6\u54cd\u5e94\u4f18\u5148\u7ea7\u3002\u89e6\u53d1\u672c\u63d2\u4ef6\u529f\u80fd\u7684\u6d88\u606f\u65e0\u6cd5\u88ab\u4f18\u5148\u7ea7\u4f4e\u4e8e\u6b64\u914d\u7f6e\u7684\u5176\u4ed6\u63d2\u4ef6\u5904\u7406 |\n| `hhw_mirror` | \u5426 | `https://genshin.honeyhunterworld.com/img/` | \u7d20\u6750\u56fe\u7247\u4e0b\u8f7d\u955c\u50cf\uff0c**\u6682\u4e0d\u53ef\u7528** |\n\n\n## \u547d\u4ee4\u8bf4\u660e\n\n\n### \u6df1\u6e0a\u901f\u89c8\n\n\n\u63d2\u4ef6\u54cd\u5e94\u4ee5 `\u901f\u89c8` / `\u6df1\u6e0a\u901f\u89c8` \u5f00\u5934\u7684\u6d88\u606f\uff0c\u5e76\u4e14\u963b\u6b62\u4e8b\u4ef6\u7ee7\u7eed\u5411\u4e0b\u4f20\u64ad\u3002\u9ed8\u8ba4\u8fd4\u56de **\u672c\u671f** **12** \u5c42 **\u5168\u5c42** \u7684\u6df1\u6e0a\u901f\u89c8\u56fe\u7247\u3002\n\n\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5408\u7406\u642d\u914d\u4e0b\u9762\u683c\u5f0f\u7684\u53c2\u6570\u9650\u5b9a\u67e5\u627e\u7684\u5185\u5bb9\u3002\u5404\u53c2\u6570\u6309\u7a7a\u683c\u5206\u5f00\u5373\u53ef\uff0c\u987a\u5e8f\u968f\u610f\u3002\n\n\n| \u53ef\u9009\u9644\u5e26\u53c2\u6570 | \u8bf4\u660e |\n|:--------|:-----|\n| `12` / `\u5341\u4e8c` / `\u5341\u4e8c\u5c42` / `\u7b2c12\u5c42` / ... | \u67e5\u8be2\u6307\u5b9a\u5c42\u5168\u5c42\u7684\u6df1\u6e0a\u901f\u89c8 |\n| `12-3` / `12\u20143` / `12\uff0d3` / `12_3` / ... | \u67e5\u8be2\u6307\u5b9a\u5c42\u6307\u5b9a\u95f4\u7684\u6df1\u6e0a\u901f\u89c8 |\n| `\u4e0a\u671f` / `\u4e0b\u671f` | \u67e5\u8be2\u4e0a\u671f\u6216\u4e0b\u671f\u7684\u6df1\u6e0a\u901f\u89c8 |\n| `\u4e09\u6708\u4e0a` / `22\u5e743\u6708\u4e0a` / `2022\u5e74\u4e09\u6708\u4e0a` / ... | \u67e5\u8be2\u6307\u5b9a\u65f6\u95f4\u7684\u6df1\u6e0a\u901f\u89c8 |\n\n\n### \u6df1\u6e0a\u7edf\u8ba1\n\n\n\u63d2\u4ef6 **\u4ec5\u54cd\u5e94**  `\u6df1\u6e0a\u7edf\u8ba1` \u6d88\u606f\uff0c\u4e0d\u53ef\u9644\u5e26\u4efb\u4f55\u53c2\u6570\uff0c\u5e76\u4e14\u963b\u6b62\u4e8b\u4ef6\u7ee7\u7eed\u5411\u4e0b\u4f20\u64ad\u3002\u9ed8\u8ba4\u8fd4\u56de\u865a\u7a7a\u6570\u636e\u5e93\uff08Akasha Database\uff09\u6700\u65b0\u7684\u6df1\u6e0a\u7edf\u8ba1\u56fe\u7247\u3002\n\n\n## \u7279\u522b\u9e23\u8c22\n\n\n[@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/)\n\n> \u6df1\u6e0a\u6570\u636e\u89e3\u6790\u91c7\u7528 [parse-hhw-abyss](https://github.com/monsterxcn/parse-hhw-abyss) \u5206\u79bb\u63a7\u5236\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Genshin spiral abyss plugin for NoneBot2",
    "version": "0.1.5",
    "project_urls": {
        "Documentation": "https://github.com/monsterxcn/nonebot-plugin-gsabyss#readme",
        "Homepage": "https://github.com/monsterxcn/nonebot-plugin-gsabyss"
    },
    "split_keywords": [
        "nonebot",
        "nonebot2",
        "genshin",
        "abyss"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d5366ce533f2391bbc6aac6933ff222f41ac95a5f31f94ac202d645f72413c71",
                "md5": "30d778e2879b2987524d063e1a442f20",
                "sha256": "b30fb7c5543605c572fc1fa1059fbc36f471815cc362d6709a48eb4808d34488"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gsabyss-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "30d778e2879b2987524d063e1a442f20",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.1,<4.0",
            "size": 23548,
            "upload_time": "2023-10-03T07:00:47",
            "upload_time_iso_8601": "2023-10-03T07:00:47.175755Z",
            "url": "https://files.pythonhosted.org/packages/d5/36/6ce533f2391bbc6aac6933ff222f41ac95a5f31f94ac202d645f72413c71/nonebot_plugin_gsabyss-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eac713543689566e7ec1df30fdd407a6aad37b0dc0331e726e3c0505d1502148",
                "md5": "31c06aa154f4002ab86a3aee24111e9c",
                "sha256": "1c60f09cb562e733940d95a6843ebd43211e07055ddc6236d80ee5e7c2efbd49"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gsabyss-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "31c06aa154f4002ab86a3aee24111e9c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.1,<4.0",
            "size": 21195,
            "upload_time": "2023-10-03T07:00:48",
            "upload_time_iso_8601": "2023-10-03T07:00:48.825506Z",
            "url": "https://files.pythonhosted.org/packages/ea/c7/13543689566e7ec1df30fdd407a6aad37b0dc0331e726e3c0505d1502148/nonebot_plugin_gsabyss-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-03 07:00:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "monsterxcn",
    "github_project": "nonebot-plugin-gsabyss",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-gsabyss"
}
        
Elapsed time: 0.14271s