A R6s plugin for Nonebot2
Project description
NoneBot Plugin R6s
Rainbow Six Siege Players Searcher For Nonebot2
使用方法
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.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
特别鸣谢
nonebot/nonebot2:简单好用,扩展性极强的 Bot 框架
Mrs4s/go-cqhttp:更新迭代快如疯狗的 OneBot Golang 原生实现
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nonebot_plugin_r6s-0.3.0.tar.gz
(19.6 MB
view hashes)
Built Distribution
Close
Hashes for nonebot_plugin_r6s-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a26f7ea34128377e22fe352a88fe3ea4d6d77e99aef9c0faded0cf0bb68ddd |
|
MD5 | 988bbd42ed1434f74df4e9ac97ecb420 |
|
BLAKE2b-256 | 7c23cfb10f2f835fb42faf4ee64b8df26523959b649e7a7656175be4de676853 |