使用方法
nb plugin install nonebot-plugin-r6s // or
pip install --upgrade nonebot-plugin-r6s
在 Nonebot2 入口文件(例如 bot.py )增加:
nonebot.load_plugin("nonebot_plugin_r6s")
指令详解
| 指令 | 别名 | 可接受参数 | 功能 |
|---|---|---|---|
| r6s | 彩六,彩虹六号,r6,R6 | 昵称 | 查询玩家基本信息 |
| r6spro | r6pro,R6pro | 昵称 | 查询玩家进阶信息 |
| r6sops | r6ops,R6ops | 昵称 | 查询玩家干员信息 |
| r6sp | r6p,R6p | 昵称 | 查询玩家 |
| r6sset | r6set,R6set | 昵称 | 设置玩家昵称,设置后其余指令可以不带昵称即查询已设置昵称信息 |
更新日志
0.4.2
- 增加玩家基本信息以及进阶信息数据:
玩家基本信息: 更新玩家当前赛季非排以及当前赛季排位MMR分数
玩家进阶信息:
1.将非排和排位数据中MMR更新为当前赛季MMR
2.新增最高段位赛季数据 最高MMR和结束赛季时最终MMR 胜场以及负场 - 修复已知BUG:
修复因玩家头像获取不到导致的出错
修复因干员头像获取不到导致的出错
Thanks for #6
0.4.1
- fix dependencies #4
0.4.0
- 适配 Nonebot2-beta.1
- python3.7.3+ 与 nonebot2 保持一致
0.3.0
- 变更为使用图片回复,旧文字消息暂时停用(未来看情况作为可选)
- 添加 oop 中间件,为未来可能的其他数据来源提供便利
- 要求版本上升为 Python3.8 (还有人在用 3.7 以下? 不会吧? 不会吧? )
0.2.2
- ground 数据源失效,暂时完全切换回 r6scn ,部分无法查询问题会重现。2021.05.24
0.2.1
- 更换优先使用 ground 数据源,cn 数据源存在排位休闲数据错位,改名后数据长期未更新问题。
- ground 数据源乱码严重,目前无法识别干员数据和近期对战数据
- 已知 ground 数据源第一次使用会返回未更新数据,待研究解决(咕咕咕)
- 针对有 Ubi 账号未游玩 R6s 账号返回 Not Found
已知问题
- r6scn 不再更新数据
特别鸣谢
nonebot/nonebot2:简单好用,扩展性极强的 Bot 框架
Mrs4s/go-cqhttp:更新迭代快如疯狗的 OneBot Golang 原生实现
Metadata
Release files for nonebot-plugin-r6s 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_r6s-0.4.2.tar.gz | 19.7 MB | Without provenance | Details for nonebot_plugin_r6s-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_r6s-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_r6s-0.4.2-py3-none-any.whl |
Total release size: 39.4 MB
Release files / nonebot_plugin_r6s-0.4.2.tar.gz
| Download URL | nonebot_plugin_r6s-0.4.2.tar.gz |
|---|---|
| Size | 19.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ef5637fde9fc50ca407291337e0459631db3172b773d7c5c420ed8508afb0c7
|
|
BLAKE2b-256 checksum How to use checksums |
7a77d75865f47778e3d91218d40774e4b49ae604edea6ee4fee94c212c53319a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Windows/10
|
Release files / nonebot_plugin_r6s-0.4.2-py3-none-any.whl
| Download URL | nonebot_plugin_r6s-0.4.2-py3-none-any.whl |
|---|---|
| Size | 19.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
681f6329e7e969466555b48a0a39f63b8991c2d235cdfb43d864c8d959b8eb47
|
|
BLAKE2b-256 checksum How to use checksums |
042e4781021dc47b493fe6c56f187e9809db7a5b582304dcb846d0e071ac8922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Windows/10
|
Security for nonebot-plugin-r6s 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.