nonebot-plugin-vrchat


Namenonebot-plugin-vrchat JSON
Version 0.1.2.post1 PyPI version JSON
download
home_pagehttps://github.com/Agnes4m/nonebot_plugin_vrchat
Summary使用第三方api实现vrchat相关操作,plugin for nonebot2
upload_time2023-11-13 04:46:43
maintainer
docs_urlNone
author
requires_python<4.0,>=3.8
licenseMIT
keywords steam game vrchat nonebot2 plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD026 MD031 MD033 MD036 MD041 MD046 MD051 -->
<div align="center">
  <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180"  alt="AgnesDigitalLogo">
  <br>
  <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot_plugin_vrchat

_✨ 使用第三方 api 实现 vrchat 相关操作 ✨_

<a href="https://github.com/Agnes4m/nonebot_plugin_vrchat/stargazers">
        <img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_vrchat" alt="stars">
</a>
<a href="https://github.com/Agnes4m/nonebot_plugin_vrchat/issues">
        <img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_vrchat" alt="issues">
</a>
<a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">
        <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">
</a>
<a href="https://pypi.python.org/pypi/nonebot_plugin_vrchat">
        <img src="https://img.shields.io/pypi/v/nonebot_plugin_vrchat.svg" alt="pypi">
</a>
    <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
    <img src="https://img.shields.io/badge/nonebot-2.1.0+-red.svg" alt="NoneBot">
</a>
<a href="https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere">
        <img src="https://img.shields.io/badge/%E9%80%82%E9%85%8D%E5%99%A8-nonebot_plugin_saa-greg" alt="adpters">
</a>
</div>

## 说明

![logo](/img/theme.jpg)

本插件适配 nonebot2 框架,目的是在 qq 群中获取好友和地图的信息

首先你应该私聊机器人发送`vrc登录`,按提示输入账号密码和验证码,才能正常使用功能

~~元宇宙大失败~~

## 安装

## 💿 安装

以下提到的方法 任选**其一** 即可

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

```bash
nb plugin install nonebot-plugin-vrchat
```

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

```bash
pip install nonebot-plugin-vrchat
```

</details>
<details>
<summary>pdm</summary>

```bash
pdm add nonebot-plugin-vrchat
```

</details>
<details>
<summary>poetry</summary>

```bash
poetry add nonebot-plugin-vrchat
```

</details>
<details>
<summary>conda</summary>

```bash
conda install nonebot-plugin-vrchat
```

</details>

打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分的 `plugins` 项里追加写入

```toml
[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_pjsk"
]
```

</details>

## 指令

- `vrc帮助`: 获取指令帮助
- `vrc登录`: 登录(需要输入账号密码,建议私聊)
- `vrc全部好友`: 查询当前全部好友状态
- `vrc查询好友【text】`:查询用户名称
- `vrc查询世界【text】`: 查询世界名称 (未完成)

## 感谢

- [vrchat 第三方 api](https://github.com/vrchatapi/vrchatapi-python)

## 其他

- 插件报错或建议 q 群:[q 群: VR CHAT 交流群](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SgA58TsEk1S4axSecQaPObNiwiOrlVwH&authKey=6Ob3NjrYayRDY029j6bPDH40oLQeZYYJQ7zlT4Pju0Iqb2uN3b4FBSBZV7d%2BrruK&noverify=0&group_code=579924932)
- [爱发电](https://afdian.net/a/agnes_digital) 感谢大家的赞助!你们的赞助将是我继续创作的动力!

## 📝 更新日志

<details>
<summary>点击展开</summary>

### 0.1.2

- 修复了无法加载cookie的bug
- 新增i18n

### 0.1.1

- 新增了无法加载cookie的bug
- 修改了部分注释

### 0.1.0

- 修复人物图片错误
- 新增好友参数显示
- 新增查询好友图片

### 0.0.6

- 修复了图片错误
- 添加公共ck以供查询 by 饼干
- 修复查询用户因为部分参数为空导致被跳过的问题
- 重构了项目
- 新增查询好友用户距离上次时间

### 0.0.5

- 新增查询世界功能
- 新增人物图片 by 饼干佬
- 合并后不知道哪里出问题了)
- 暂时将适配器改成v11通过检查

### 0.0.4

- 新增查询用户功能
- 适配 nonebot2.1.\*
- 部分逻辑改进

### 0.0.3

- 通过 nonebot2 商店检查,删除 qqguild

### 0.0.2

- 使用 pre-commit 格式化项目

### 0.0.1

- 新建项目
- 增加“查询全部好友”功能
- 增加“查询在线好友功能”功能

</details>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Agnes4m/nonebot_plugin_vrchat",
    "name": "nonebot-plugin-vrchat",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": "",
    "keywords": "steam game vrchat nonebot2 plugin",
    "author": "",
    "author_email": "Agnes_Digital <Z735803792@163.com>, student_2333 <lgc2333@126.com>",
    "download_url": "https://files.pythonhosted.org/packages/66/3b/9aa552384947f9a32cfe3630cf5b6f9a80c741bbf00f8ebc6ed9e743e2a8/nonebot_plugin_vrchat-0.1.2.post1.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD026 MD031 MD033 MD036 MD041 MD046 MD051 -->\n<div align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png\" width=\"180\" height=\"180\"  alt=\"AgnesDigitalLogo\">\n  <br>\n  <p><img src=\"https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot_plugin_vrchat\n\n_\u2728 \u4f7f\u7528\u7b2c\u4e09\u65b9 api \u5b9e\u73b0 vrchat \u76f8\u5173\u64cd\u4f5c \u2728_\n\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_vrchat/stargazers\">\n        <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_vrchat\" alt=\"stars\">\n</a>\n<a href=\"https://github.com/Agnes4m/nonebot_plugin_vrchat/issues\">\n        <img alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_vrchat\" alt=\"issues\">\n</a>\n<a href=\"https://jq.qq.com/?_wv=1027&k=HdjoCcAe\">\n        <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square\" alt=\"QQ Chat Group\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot_plugin_vrchat\">\n        <img src=\"https://img.shields.io/pypi/v/nonebot_plugin_vrchat.svg\" alt=\"pypi\">\n</a>\n    <img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n    <img src=\"https://img.shields.io/badge/nonebot-2.1.0+-red.svg\" alt=\"NoneBot\">\n</a>\n<a href=\"https://github.com/MountainDash/nonebot-plugin-send-anything-anywhere\">\n        <img src=\"https://img.shields.io/badge/%E9%80%82%E9%85%8D%E5%99%A8-nonebot_plugin_saa-greg\" alt=\"adpters\">\n</a>\n</div>\n\n## \u8bf4\u660e\n\n![logo](/img/theme.jpg)\n\n\u672c\u63d2\u4ef6\u9002\u914d nonebot2 \u6846\u67b6\uff0c\u76ee\u7684\u662f\u5728 qq \u7fa4\u4e2d\u83b7\u53d6\u597d\u53cb\u548c\u5730\u56fe\u7684\u4fe1\u606f\n\n\u9996\u5148\u4f60\u5e94\u8be5\u79c1\u804a\u673a\u5668\u4eba\u53d1\u9001`vrc\u767b\u5f55`\uff0c\u6309\u63d0\u793a\u8f93\u5165\u8d26\u53f7\u5bc6\u7801\u548c\u9a8c\u8bc1\u7801\uff0c\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u529f\u80fd\n\n~~\u5143\u5b87\u5b99\u5927\u5931\u8d25~~\n\n## \u5b89\u88c5\n\n## \ud83d\udcbf \u5b89\u88c5\n\n\u4ee5\u4e0b\u63d0\u5230\u7684\u65b9\u6cd5 \u4efb\u9009**\u5176\u4e00** \u5373\u53ef\n\n<details open>\n<summary>[\u63a8\u8350] \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```bash\nnb plugin install nonebot-plugin-vrchat\n```\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n```bash\npip install nonebot-plugin-vrchat\n```\n\n</details>\n<details>\n<summary>pdm</summary>\n\n```bash\npdm add nonebot-plugin-vrchat\n```\n\n</details>\n<details>\n<summary>poetry</summary>\n\n```bash\npoetry add nonebot-plugin-vrchat\n```\n\n</details>\n<details>\n<summary>conda</summary>\n\n```bash\nconda install nonebot-plugin-vrchat\n```\n\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u7684 `plugins` \u9879\u91cc\u8ffd\u52a0\u5199\u5165\n\n```toml\n[tool.nonebot]\nplugins = [\n    # ...\n    \"nonebot_plugin_pjsk\"\n]\n```\n\n</details>\n\n## \u6307\u4ee4\n\n- `vrc\u5e2e\u52a9`\uff1a \u83b7\u53d6\u6307\u4ee4\u5e2e\u52a9\n- `vrc\u767b\u5f55`\uff1a \u767b\u5f55\uff08\u9700\u8981\u8f93\u5165\u8d26\u53f7\u5bc6\u7801\uff0c\u5efa\u8bae\u79c1\u804a\uff09\n- `vrc\u5168\u90e8\u597d\u53cb`\uff1a \u67e5\u8be2\u5f53\u524d\u5168\u90e8\u597d\u53cb\u72b6\u6001\n- `vrc\u67e5\u8be2\u597d\u53cb\u3010text\u3011`\uff1a\u67e5\u8be2\u7528\u6237\u540d\u79f0\n- `vrc\u67e5\u8be2\u4e16\u754c\u3010text\u3011`\uff1a \u67e5\u8be2\u4e16\u754c\u540d\u79f0 \uff08\u672a\u5b8c\u6210\uff09\n\n## \u611f\u8c22\n\n- [vrchat \u7b2c\u4e09\u65b9 api](https://github.com/vrchatapi/vrchatapi-python)\n\n## \u5176\u4ed6\n\n- \u63d2\u4ef6\u62a5\u9519\u6216\u5efa\u8bae q \u7fa4\uff1a[q \u7fa4: VR CHAT \u4ea4\u6d41\u7fa4](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SgA58TsEk1S4axSecQaPObNiwiOrlVwH&authKey=6Ob3NjrYayRDY029j6bPDH40oLQeZYYJQ7zlT4Pju0Iqb2uN3b4FBSBZV7d%2BrruK&noverify=0&group_code=579924932)\n- [\u7231\u53d1\u7535](https://afdian.net/a/agnes_digital) \u611f\u8c22\u5927\u5bb6\u7684\u8d5e\u52a9\uff01\u4f60\u4eec\u7684\u8d5e\u52a9\u5c06\u662f\u6211\u7ee7\u7eed\u521b\u4f5c\u7684\u52a8\u529b\uff01\n\n## \ud83d\udcdd \u66f4\u65b0\u65e5\u5fd7\n\n<details>\n<summary>\u70b9\u51fb\u5c55\u5f00</summary>\n\n### 0.1.2\n\n- \u4fee\u590d\u4e86\u65e0\u6cd5\u52a0\u8f7dcookie\u7684bug\n- \u65b0\u589ei18n\n\n### 0.1.1\n\n- \u65b0\u589e\u4e86\u65e0\u6cd5\u52a0\u8f7dcookie\u7684bug\n- \u4fee\u6539\u4e86\u90e8\u5206\u6ce8\u91ca\n\n### 0.1.0\n\n- \u4fee\u590d\u4eba\u7269\u56fe\u7247\u9519\u8bef\n- \u65b0\u589e\u597d\u53cb\u53c2\u6570\u663e\u793a\n- \u65b0\u589e\u67e5\u8be2\u597d\u53cb\u56fe\u7247\n\n### 0.0.6\n\n- \u4fee\u590d\u4e86\u56fe\u7247\u9519\u8bef\n- \u6dfb\u52a0\u516c\u5171ck\u4ee5\u4f9b\u67e5\u8be2 by \u997c\u5e72\n- \u4fee\u590d\u67e5\u8be2\u7528\u6237\u56e0\u4e3a\u90e8\u5206\u53c2\u6570\u4e3a\u7a7a\u5bfc\u81f4\u88ab\u8df3\u8fc7\u7684\u95ee\u9898\n- \u91cd\u6784\u4e86\u9879\u76ee\n- \u65b0\u589e\u67e5\u8be2\u597d\u53cb\u7528\u6237\u8ddd\u79bb\u4e0a\u6b21\u65f6\u95f4\n\n### 0.0.5\n\n- \u65b0\u589e\u67e5\u8be2\u4e16\u754c\u529f\u80fd\n- \u65b0\u589e\u4eba\u7269\u56fe\u7247 by \u997c\u5e72\u4f6c\n- \u5408\u5e76\u540e\u4e0d\u77e5\u9053\u54ea\u91cc\u51fa\u95ee\u9898\u4e86\uff09\n- \u6682\u65f6\u5c06\u9002\u914d\u5668\u6539\u6210v11\u901a\u8fc7\u68c0\u67e5\n\n### 0.0.4\n\n- \u65b0\u589e\u67e5\u8be2\u7528\u6237\u529f\u80fd\n- \u9002\u914d nonebot2.1.\\*\n- \u90e8\u5206\u903b\u8f91\u6539\u8fdb\n\n### 0.0.3\n\n- \u901a\u8fc7 nonebot2 \u5546\u5e97\u68c0\u67e5\uff0c\u5220\u9664 qqguild\n\n### 0.0.2\n\n- \u4f7f\u7528 pre-commit \u683c\u5f0f\u5316\u9879\u76ee\n\n### 0.0.1\n\n- \u65b0\u5efa\u9879\u76ee\n- \u589e\u52a0\u201c\u67e5\u8be2\u5168\u90e8\u597d\u53cb\u201d\u529f\u80fd\n- \u589e\u52a0\u201c\u67e5\u8be2\u5728\u7ebf\u597d\u53cb\u529f\u80fd\u201d\u529f\u80fd\n\n</details>\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u4f7f\u7528\u7b2c\u4e09\u65b9api\u5b9e\u73b0vrchat\u76f8\u5173\u64cd\u4f5c,plugin for nonebot2",
    "version": "0.1.2.post1",
    "project_urls": {
        "Homepage": "https://github.com/Agnes4m/nonebot_plugin_vrchat"
    },
    "split_keywords": [
        "steam",
        "game",
        "vrchat",
        "nonebot2",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "057a0fa6fa147478dfa5cd43db66ea732f71408a0949c8f33d3f9db2db5b6c93",
                "md5": "202c2902c6dd562e0ab1fd3ec6540314",
                "sha256": "f60b35bf4d29bfca954ff45e80bf8f6ad640e93b84da2c9c7eb04e1ecede9825"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_vrchat-0.1.2.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "202c2902c6dd562e0ab1fd3ec6540314",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 44702,
            "upload_time": "2023-11-13T04:46:42",
            "upload_time_iso_8601": "2023-11-13T04:46:42.416796Z",
            "url": "https://files.pythonhosted.org/packages/05/7a/0fa6fa147478dfa5cd43db66ea732f71408a0949c8f33d3f9db2db5b6c93/nonebot_plugin_vrchat-0.1.2.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "663b9aa552384947f9a32cfe3630cf5b6f9a80c741bbf00f8ebc6ed9e743e2a8",
                "md5": "daf6f20631607811b138f8d13cbe6575",
                "sha256": "8a7674592763d1cc0cc5e75037dccddc360e411864abffc80e93d0a353318ce7"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_vrchat-0.1.2.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "daf6f20631607811b138f8d13cbe6575",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 41664,
            "upload_time": "2023-11-13T04:46:43",
            "upload_time_iso_8601": "2023-11-13T04:46:43.986900Z",
            "url": "https://files.pythonhosted.org/packages/66/3b/9aa552384947f9a32cfe3630cf5b6f9a80c741bbf00f8ebc6ed9e743e2a8/nonebot_plugin_vrchat-0.1.2.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-13 04:46:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Agnes4m",
    "github_project": "nonebot_plugin_vrchat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-vrchat"
}
        
Elapsed time: 0.13618s