nonebot-plugin-gscode


Namenonebot-plugin-gscode JSON
Version 0.2.2 PyPI version JSON
download
home_pagehttps://github.com/monsterxcn/nonebot-plugin-gscode
SummaryGenshin live codes plugin for NoneBot2
upload_time2024-03-17 00:47:05
maintainer
docs_urlNone
authormonsterxcn
requires_python>=3.8.1,<4.0
licenseMIT
keywords nonebot nonebot2 genshin live code redeem
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">NoneBot Plugin GsCode</h1></br>


<p align="center">🤖 用于查询原神前瞻直播兑换码的 NoneBot2 插件</p></br>


<p align="center">
  <a href="https://raw.githubusercontent.com/monsterxcn/nonebot-plugin-gscode/master/LICENSE"><img src="https://img.shields.io/github/license/monsterxcn/nonebot-plugin-gscode?style=flat-square" alt="license" /></a>
  <a href="https://pypi.python.org/pypi/nonebot-plugin-gscode"><img src="https://img.shields.io/pypi/v/nonebot-plugin-gscode?style=flat-square" alt="pypi" /></a>
  <a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3.8+-blue?style=flat-square" 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?style=flat-square" alt="QQ Chat Group" /></a><br />
</p></br>


| ![image](https://user-images.githubusercontent.com/22407052/204017447-84f300f4-0df2-44df-ac3e-4bc72a47d816.png) | ![image](https://user-images.githubusercontent.com/22407052/204016397-2c2063cb-9e0d-4060-808d-32b2bb84bc69.png) |
|:--:|:--:|


## 安装方法


如果你正在使用 2.0.0.beta1 以上版本 NoneBot,推荐使用以下命令安装:


```bash
# 从 nb_cli 安装
nb plugin install nonebot-plugin-gscode
```


## 使用说明


插件响应 `gscode` / `兑换码`,返回一组包含兑换码信息的合并转发消息。


经测试,兑换码接口返回与前瞻直播有 2 分钟左右延迟,应为正常现象,请耐心等待。


插件依赖 [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) 的合并转发接口,如需启用私聊响应请务必安装 [v1.0.0-rc2](https://github.com/Mrs4s/go-cqhttp/releases/tag/v1.0.0-rc2) 以上版本的 go-cqhttp。


## 特别鸣谢


[@nonebot/nonebot2](https://github.com/nonebot/nonebot2/) | [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) | [@Le-niao/Yunzai-Bot](https://github.com/Le-niao/Yunzai-Bot)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/monsterxcn/nonebot-plugin-gscode",
    "name": "nonebot-plugin-gscode",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8.1,<4.0",
    "maintainer_email": "",
    "keywords": "nonebot,nonebot2,genshin,live,code,redeem",
    "author": "monsterxcn",
    "author_email": "monsterxcn@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9e/5b/ffa7840447caf3ed455178dd7c1c855001dfd61c6a87d0836955ceb84269/nonebot_plugin_gscode-0.2.2.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">NoneBot Plugin GsCode</h1></br>\n\n\n<p align=\"center\">\ud83e\udd16 \u7528\u4e8e\u67e5\u8be2\u539f\u795e\u524d\u77bb\u76f4\u64ad\u5151\u6362\u7801\u7684 NoneBot2 \u63d2\u4ef6</p></br>\n\n\n<p align=\"center\">\n  <a href=\"https://raw.githubusercontent.com/monsterxcn/nonebot-plugin-gscode/master/LICENSE\"><img src=\"https://img.shields.io/github/license/monsterxcn/nonebot-plugin-gscode?style=flat-square\" alt=\"license\" /></a>\n  <a href=\"https://pypi.python.org/pypi/nonebot-plugin-gscode\"><img src=\"https://img.shields.io/pypi/v/nonebot-plugin-gscode?style=flat-square\" alt=\"pypi\" /></a>\n  <a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/badge/python-3.8+-blue?style=flat-square\" 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?style=flat-square\" alt=\"QQ Chat Group\" /></a><br />\n</p></br>\n\n\n| ![image](https://user-images.githubusercontent.com/22407052/204017447-84f300f4-0df2-44df-ac3e-4bc72a47d816.png) | ![image](https://user-images.githubusercontent.com/22407052/204016397-2c2063cb-9e0d-4060-808d-32b2bb84bc69.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 NoneBot\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-gscode\n```\n\n\n## \u4f7f\u7528\u8bf4\u660e\n\n\n\u63d2\u4ef6\u54cd\u5e94 `gscode` / `\u5151\u6362\u7801`\uff0c\u8fd4\u56de\u4e00\u7ec4\u5305\u542b\u5151\u6362\u7801\u4fe1\u606f\u7684\u5408\u5e76\u8f6c\u53d1\u6d88\u606f\u3002\n\n\n\u7ecf\u6d4b\u8bd5\uff0c\u5151\u6362\u7801\u63a5\u53e3\u8fd4\u56de\u4e0e\u524d\u77bb\u76f4\u64ad\u6709 2 \u5206\u949f\u5de6\u53f3\u5ef6\u8fdf\uff0c\u5e94\u4e3a\u6b63\u5e38\u73b0\u8c61\uff0c\u8bf7\u8010\u5fc3\u7b49\u5f85\u3002\n\n\n\u63d2\u4ef6\u4f9d\u8d56 [@Mrs4s/go-cqhttp](https://github.com/Mrs4s/go-cqhttp) \u7684\u5408\u5e76\u8f6c\u53d1\u63a5\u53e3\uff0c\u5982\u9700\u542f\u7528\u79c1\u804a\u54cd\u5e94\u8bf7\u52a1\u5fc5\u5b89\u88c5 [v1.0.0-rc2](https://github.com/Mrs4s/go-cqhttp/releases/tag/v1.0.0-rc2) \u4ee5\u4e0a\u7248\u672c\u7684 go-cqhttp\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) | [@Le-niao/Yunzai-Bot](https://github.com/Le-niao/Yunzai-Bot)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Genshin live codes plugin for NoneBot2",
    "version": "0.2.2",
    "project_urls": {
        "Documentation": "https://github.com/monsterxcn/nonebot-plugin-gscode#readme",
        "Homepage": "https://github.com/monsterxcn/nonebot-plugin-gscode"
    },
    "split_keywords": [
        "nonebot",
        "nonebot2",
        "genshin",
        "live",
        "code",
        "redeem"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83359ce4d6ff9fcafde720f3158fdf9b13920f4b114427e95e81b9e724227822",
                "md5": "dc45b036ee0c5995d3b91218445ba5cc",
                "sha256": "fd37f19f8388467f8e0701000f3309b279b3bdb43f20b7d568f6c9e166ad146d"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gscode-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dc45b036ee0c5995d3b91218445ba5cc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8.1,<4.0",
            "size": 6151,
            "upload_time": "2024-03-17T00:47:03",
            "upload_time_iso_8601": "2024-03-17T00:47:03.313876Z",
            "url": "https://files.pythonhosted.org/packages/83/35/9ce4d6ff9fcafde720f3158fdf9b13920f4b114427e95e81b9e724227822/nonebot_plugin_gscode-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e5bffa7840447caf3ed455178dd7c1c855001dfd61c6a87d0836955ceb84269",
                "md5": "cf93f303ab91dd0058435631bf938cc4",
                "sha256": "7592ffe2c0092f3923f29b48a68f77634ce247b0eacf77f6b3490b0047e67535"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_gscode-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cf93f303ab91dd0058435631bf938cc4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8.1,<4.0",
            "size": 5657,
            "upload_time": "2024-03-17T00:47:05",
            "upload_time_iso_8601": "2024-03-17T00:47:05.187507Z",
            "url": "https://files.pythonhosted.org/packages/9e/5b/ffa7840447caf3ed455178dd7c1c855001dfd61c6a87d0836955ceb84269/nonebot_plugin_gscode-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 00:47:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "monsterxcn",
    "github_project": "nonebot-plugin-gscode",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-gscode"
}
        
Elapsed time: 0.19049s