nonebot-plugin-gshisbanner


Namenonebot-plugin-gshisbanner JSON
Version 0.4 PyPI version JSON
download
home_page
SummaryNonebot2查询原神历史卡池小插件
upload_time2023-03-24 05:12:17
maintainer
docs_urlNone
authorforchannot
requires_python>=3.9,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://ghproxy.com/https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://ghproxy.com/https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot-plugin-gshisbanner

_✨ 本插件用于在机器人上查询原神历史卡池信息 ✨_

<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/forchannot/nonebot-plugin-gshisbanner.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-gshisbanner">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-gshisbanner.svg" alt="pypi">
</a>
<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">

</div>

## 📖 介绍

本插件用于在机器人上查询原神历史卡池信息

## 💿 安装

<details>
<summary>使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

    nb plugin install nonebot-plugin-gshisbanner
</details>

<details>
<summary>pip</summary>

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

    plugins = ["nonebot_plugin_gshisbanner"]
</details>

## ⚙️ 配置
```
gshisbanner_forward_length=10
# 单次合并转发消息长度(int),默认为10
# 越大单次转发内容更多,合并转发的次数更少,越小单单次转发内容更少,但合并转发的次数更多
# 不要设置为>99或者<0的数字或者任意字符串
```

## 🎉 使用
### 指令表
|        指令         |    权限    | 需要@ | 范围 |                             说明                             |
| :-----------------: | :--------: | :---: | :--: | :----------------------------------------------------------: |
| [name]历史卡池(num) |    ALL     |  否   | ALL  | name必填,为角色名字或别名;num选填,为单次合并转发次数,若无则为gshisbanner_forward_length的值 |
| [version]卡池[num]  |    ALL     |  否   | ALL  | version为版本号,如1.3,2.6等,num为1-3,对应上半(中)下半,可不填,如不填则发送该版本全部卡池 |
|  刷新历史卡池/别名  | 管理员以上 |  否   | ALL  |                      刷新历史卡池或别名                      |
### 效果图
<details>
<summary>历史卡池效果图</summary>
<details>
<summary>图1</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.4jlu5w0mhko0.jpg" alt="help">
</details>
<details>
<summary>图2</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.5v8oqbhsm080.jpg" alt="help">
</details>
<details>
<summary>图3</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.mr1g032ci74.jpg" alt="help">
</details>
</details>

<details>
<summary>版本卡池效果图</summary>
<details>
<summary>图1</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.16h2b0rhhlcw.jpg" alt="help">
</details>
<details>
<summary>图2</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.50oudvw9cdg0.jpg" alt="help">
</details>
<details>
<summary>图3</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.63vftfc9ryk0.jpg" alt="help">
</details>
</details>

<details>
<summary>刷新卡池/别名效果图</summary>
<img src="https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.5zl59kpx8b00.jpg" alt="help">
</details>


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "nonebot-plugin-gshisbanner",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "forchannot",
    "author_email": "yy320206@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ca/2c/534e986e0beea04a88a9c9131df9cd0476c5a6847bfdf99c8bbe02fcdba1/nonebot_plugin_gshisbanner-0.4.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://ghproxy.com/https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://ghproxy.com/https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot-plugin-gshisbanner\n\n_\u2728 \u672c\u63d2\u4ef6\u7528\u4e8e\u5728\u673a\u5668\u4eba\u4e0a\u67e5\u8be2\u539f\u795e\u5386\u53f2\u5361\u6c60\u4fe1\u606f \u2728_\n\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/forchannot/nonebot-plugin-gshisbanner.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-gshisbanner\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-gshisbanner.svg\" alt=\"pypi\">\n</a>\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n\n</div>\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n\u672c\u63d2\u4ef6\u7528\u4e8e\u5728\u673a\u5668\u4eba\u4e0a\u67e5\u8be2\u539f\u795e\u5386\u53f2\u5361\u6c60\u4fe1\u606f\n\n## \ud83d\udcbf \u5b89\u88c5\n\n<details>\n<summary>\u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n    nb plugin install nonebot-plugin-gshisbanner\n</details>\n\n<details>\n<summary>pip</summary>\n\n    pip install nonebot-plugin-gshisbanner\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u8ffd\u52a0\u5199\u5165\n\n    plugins = [\"nonebot_plugin_gshisbanner\"]\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n```\ngshisbanner_forward_length=10\n# \u5355\u6b21\u5408\u5e76\u8f6c\u53d1\u6d88\u606f\u957f\u5ea6\uff08int\uff09,\u9ed8\u8ba4\u4e3a10\n# \u8d8a\u5927\u5355\u6b21\u8f6c\u53d1\u5185\u5bb9\u66f4\u591a\uff0c\u5408\u5e76\u8f6c\u53d1\u7684\u6b21\u6570\u66f4\u5c11\uff0c\u8d8a\u5c0f\u5355\u5355\u6b21\u8f6c\u53d1\u5185\u5bb9\u66f4\u5c11\uff0c\u4f46\u5408\u5e76\u8f6c\u53d1\u7684\u6b21\u6570\u66f4\u591a\n# \u4e0d\u8981\u8bbe\u7f6e\u4e3a>99\u6216\u8005<0\u7684\u6570\u5b57\u6216\u8005\u4efb\u610f\u5b57\u7b26\u4e32\n```\n\n## \ud83c\udf89 \u4f7f\u7528\n### \u6307\u4ee4\u8868\n|        \u6307\u4ee4         |    \u6743\u9650    | \u9700\u8981@ | \u8303\u56f4 |                             \u8bf4\u660e                             |\n| :-----------------: | :--------: | :---: | :--: | :----------------------------------------------------------: |\n| [name]\u5386\u53f2\u5361\u6c60(num) |    ALL     |  \u5426   | ALL  | name\u5fc5\u586b\uff0c\u4e3a\u89d2\u8272\u540d\u5b57\u6216\u522b\u540d\uff1bnum\u9009\u586b\uff0c\u4e3a\u5355\u6b21\u5408\u5e76\u8f6c\u53d1\u6b21\u6570\uff0c\u82e5\u65e0\u5219\u4e3agshisbanner_forward_length\u7684\u503c |\n| [version]\u5361\u6c60[num]  |    ALL     |  \u5426   | ALL  | version\u4e3a\u7248\u672c\u53f7\uff0c\u59821.3\uff0c2.6\u7b49\uff0cnum\u4e3a1-3\uff0c\u5bf9\u5e94\u4e0a\u534a\uff08\u4e2d\uff09\u4e0b\u534a\uff0c\u53ef\u4e0d\u586b\uff0c\u5982\u4e0d\u586b\u5219\u53d1\u9001\u8be5\u7248\u672c\u5168\u90e8\u5361\u6c60 |\n|  \u5237\u65b0\u5386\u53f2\u5361\u6c60/\u522b\u540d  | \u7ba1\u7406\u5458\u4ee5\u4e0a |  \u5426   | ALL  |                      \u5237\u65b0\u5386\u53f2\u5361\u6c60\u6216\u522b\u540d                      |\n### \u6548\u679c\u56fe\n<details>\n<summary>\u5386\u53f2\u5361\u6c60\u6548\u679c\u56fe</summary>\n<details>\n<summary>\u56fe1</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.4jlu5w0mhko0.jpg\" alt=\"help\">\n</details>\n<details>\n<summary>\u56fe2</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.5v8oqbhsm080.jpg\" alt=\"help\">\n</details>\n<details>\n<summary>\u56fe3</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.mr1g032ci74.jpg\" alt=\"help\">\n</details>\n</details>\n\n<details>\n<summary>\u7248\u672c\u5361\u6c60\u6548\u679c\u56fe</summary>\n<details>\n<summary>\u56fe1</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.16h2b0rhhlcw.jpg\" alt=\"help\">\n</details>\n<details>\n<summary>\u56fe2</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.50oudvw9cdg0.jpg\" alt=\"help\">\n</details>\n<details>\n<summary>\u56fe3</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.63vftfc9ryk0.jpg\" alt=\"help\">\n</details>\n</details>\n\n<details>\n<summary>\u5237\u65b0\u5361\u6c60/\u522b\u540d\u6548\u679c\u56fe</summary>\n<img src=\"https://cdn.staticaly.com/gh/forchannot/mypicgo@main/20230324/image.5zl59kpx8b00.jpg\" alt=\"help\">\n</details>\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Nonebot2\u67e5\u8be2\u539f\u795e\u5386\u53f2\u5361\u6c60\u5c0f\u63d2\u4ef6",
    "version": "0.4",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5405d6e36d6bbdbce60eb82c15db92b53cb9600f510444804b46aeedc480a63f",
                "md5": "86ebf90e1eaa65137c2167fb57dbe99f",
                "sha256": "31da9021213f56f36c2ae89463a6441590c90a76057aabab600f54955c319030"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gshisbanner-0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "86ebf90e1eaa65137c2167fb57dbe99f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 9988,
            "upload_time": "2023-03-24T05:12:16",
            "upload_time_iso_8601": "2023-03-24T05:12:16.770949Z",
            "url": "https://files.pythonhosted.org/packages/54/05/d6e36d6bbdbce60eb82c15db92b53cb9600f510444804b46aeedc480a63f/nonebot_plugin_gshisbanner-0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca2c534e986e0beea04a88a9c9131df9cd0476c5a6847bfdf99c8bbe02fcdba1",
                "md5": "d9bb61c68bf40041fd48f3a112b2a99e",
                "sha256": "56c977a3f4a432da35b84a3686a4e2330d5d299ab247caa1f9a150407e66ed0d"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gshisbanner-0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "d9bb61c68bf40041fd48f3a112b2a99e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 8272,
            "upload_time": "2023-03-24T05:12:17",
            "upload_time_iso_8601": "2023-03-24T05:12:17.928186Z",
            "url": "https://files.pythonhosted.org/packages/ca/2c/534e986e0beea04a88a9c9131df9cd0476c5a6847bfdf99c8bbe02fcdba1/nonebot_plugin_gshisbanner-0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-24 05:12:17",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "nonebot-plugin-gshisbanner"
}
        
Elapsed time: 0.17909s