Skip to main content

An arcaea plugin for nonebot2. ( A cross platform Python async bot framework. )

Project description

nonebot-plugin-arcaeabot

An arcaea plugin for nonebot2. ( A cross platform Python async bot framework. )

功能 Resume

Arcaea 查分器。

更新日志

如何开始 Quick Start

请注意! 1.0.0后的版本更改了默认使用的api,您需要填写相关配置才能正常使用

使用前请确保您的Python版本>=3.8

项目默认使用AUA (ArcaeaUnlimitedApi),您需要申请相关apiurl与token(user-agent)并在机器人所在目录data\arcaea\config.yml中填写

参数 描述
AUA_URL AUA的地址,如"https://www.example.com"
(不需要添加/botarcapi)
AUA_UA AUA请求头User-Agent,如"Grievous Lady (Linux; U; Android 2.3.3; BotArcAPI)"

使该项目被您的 NoneBot2 (nonebot2 及 nonebot-adapter-onebot 版本不得低于 2.0.0-beta2 ) 机器人作为插件加载, 至于如何做, 您应该懂的。

首次使用您需要更新资源文件(assets/song, assets/char)

  • 向bot发送"/arc assets_update"以更新资源文件。(默认使用我搭建的api服务器)
  • 如果更新失败(服务器炸了)您可以使用ArcaeaAssetsUpdater搭建自己的资源更新服务器,然后在 config.yml 中填写您的api地址)
  • 还可以直接从百度云下载资源文件(更新至3.12.4c)。

指令 Command

指令 描述
/arc assets_update 更新曲绘, 请务必在您初次使用该插件或者 Arcaea 版本有更新时发送此命令
/arc help 查看该插件的帮助文档
/arc bind {id} 绑定您的 Arcaea 账户, id 应为 9 位数字
/arc unbind 删除您的绑定信息
/arc info 查询您的绑定信息
/arc recent 查询您的最近游玩信息
/arc b30 查询您的 best 30 记录
/arc best {songname} {difficulty} 查询您的单曲最佳记录
/arc song {songname} {difficulty} 查询歌曲信息
/arc song {difficulty} {difficulty} 随机歌曲

To Do

  • 年报

参考代码

Project details


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_arcaeabot-2.1.2.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

nonebot_plugin_arcaeabot-2.1.2-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_arcaeabot-2.1.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_arcaeabot-2.1.2.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.15.0-27-generic

File hashes

Hashes for nonebot_plugin_arcaeabot-2.1.2.tar.gz
Algorithm Hash digest
SHA256 2ec0f1718eda07fdd422c4e42dd7f9986efe34042d9dee33d4aff1e591e15555
MD5 4cbde907cb37a6bcee49ea244ba3a6f6
BLAKE2b-256 a2613dfcc43e0de2fa70cc374d414cbbe84b95d9cea7e677a8f7d0d645957bd8

See more details on using hashes here.

File details

Details for the file nonebot_plugin_arcaeabot-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_arcaeabot-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0afabcb55b4ac6225eed5a581dc3c1cb623c1c1e1970e383534b9338664b2b74
MD5 daff322801cf9b563f6e6637744920da
BLAKE2b-256 8e4035b70208847f8fed7fbc27a0781f4bbc9586bdc33f1314ee8b80c16f50e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page