An arcaea rhythm game score-querying plugin for nonebot2
Reason this release was yanked:
ugly
Project description
nonebot-plugin-arcaea
- 基于 nonebot2
功能 Resume
Arcaea 查分器,可以实现 best30
| recent
| songinfo
之类的查询功能
特点 Feature
-
可以添加自建 API,需要自己写 Adapter
-
以图片形式返回
best30
|recent
-
图片可以自定义主题
快速开始 Quickstart
注意
-
由于使用了 colon equal,使用前请保证
python>=3.8
-
由于使用了 shell_like command,使用前请保证
nonebot2
处于 v2a9 以上的版本 -
安装插件
pip install nonebot-plugin-arcaea
如果你使用的是 nb plugin install
,此时 bot.py
会自动插入 nonebot.load_plugin('nonebot_plugin_arcaea')
若没有,请手动添加
bot 指令
-
/arc bind
绑定账户 -
/arc recent
查询最近游玩,返回文字 -
/arc b30
查询 best30,返回图片
可选配置项 Optional Env
ARCAEA_API
:
estertion
http://127.0.0.1:616/v3
mix http://127.0.0.1:616/v3
本插件为来自 BotArcApi 搭建的 API 做了适配,只需要按照以上配置填写便可使用
mix
开头的配置项代表 API 混合查询,详情见源码
特别感谢
优化建议
如有优化建议请积极提交 issues 或者 pull requests
碎碎念
在完成这个插件的中途,我 kou 框了
最近忙着开一个全栈的新项目(接单),在接下来至少一个星期我将不会对此项目进行更新,但是 pr 和 issue 是会看的,欢迎贡献您的代码
后期打算
使用 fastapi 实现 allscores 的查询
为 recent 添加图片查询功能
使用 pandas 结合 estertion 给出的查分记录完成 chart 分析
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
Built Distribution
Hashes for nonebot-plugin-arcaea-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0013ae53e3bdf55c3687ccf3dce404449405153a131694805ba4d2a50eba563 |
|
MD5 | 6a15b1ba9a544f46d63bc31652964616 |
|
BLAKE2b-256 | 48768230c3682170b8e2ef010c3baa861064661f14913454580b12b1fea1365d |
Hashes for nonebot_plugin_arcaea-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9745b0f88c91f786ee0e1d5bd89a15632ca59fc30176f6b40401074bb51dd3 |
|
MD5 | 8788e46da770b53d5761221059ed6d93 |
|
BLAKE2b-256 | 4549c4bbc97118022ecd6c42c07f07c54e101ab4a0a9a5bc973f13e4f44bebd1 |