说明(2025年6月10日以更新可以正常使用)
从mai-bot适配nonebot2插件,测试环境nonebot2.4.0
mai帮助获取帮助指令- b40/b50可以艾特人查询
检查mai资源超级管理员指令,自动下载图片资源- 用pil画图轻量
- 支持nonebot_plugin_alconna跨平台适配
我做的适配有问题请冲我来不要打扰原作者捏,可以提iss或者加群qq反馈,
env(可选)
maimai_font = 'simsun.ttc' # 替换你有的字体
前置步骤(和原项目一样)
安装(仍选其一):
pip3 install nonebot_plugin_maimai
nb plugin install nonebot_plugin_maimai
git clone https://github.com/Agnes4m/nonebot_plugin_maimai.git
您需要从此链接下载资源文件并,并将其static文件解压到:(以下方法2选1)
只需要超级管理员输入指令检查mai资源即可
- pypi
nonebot_plugin_maimai文件夹中 - 最终路径类似是/path/to/nonebot_plugin_maimai/static - 机器人目录下 - 最终路径类似是/path/to/data/maimai/static中。其中bot.py文件在/path/to位置
资源文件仅供学习交流使用,请自觉在下载 24 小时内删除资源文件。
FAQ
配置 nonebot 或 cq-http 过程中出错?
请查阅 https://github.com/nonebot/nonebot2 以及 https://github.com/Mrs4s/go-cqhttp 中的文档。
部分消息发不出来?
被风控了。解决方式:换号或者让这个号保持登陆状态和一定的聊天频率,持续一段时间。
说明
本 bot 提供了如下功能:
| 命令 | 功能 |
|---|---|
| mai帮助 | 查看帮助文档 |
| 今日舞萌 | 查看今天的舞萌运势 |
| XXXmaimaiXXX什么 | 随机一首歌 |
| 随个[dx/标准][绿黄红紫白]<难度> | 随机一首指定条件的乐曲 |
| 查歌<乐曲标题的一部分> | 查询符合条件的乐曲 |
| [绿黄红紫白]id<歌曲编号> | 查询乐曲信息或谱面信息 |
| 定数查歌 <定数> 定数查歌 <定数下限> <定数上限> |
查询定数对应的乐曲 |
| 分数线 <难度+歌曲id> <分数线> | 展示歌曲的分数线 |
| 搜<手元><理论><谱面确认> | 从b站获取对应的手元视频 |
原作者
License
MIT
您可以自由使用本项目的代码用于商业或非商业的用途,但必须附带 MIT 授权协议。
Metadata
Release files for nonebot-plugin-maimai 0.5.3
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_maimai-0.5.3.tar.gz | 21.5 kB | Without provenance | Details for nonebot_plugin_maimai-0.5.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_maimai-0.5.3-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_maimai-0.5.3-py3-none-any.whl |
Total release size: 48.6 kB
Release files / nonebot_plugin_maimai-0.5.3.tar.gz
| Download URL | nonebot_plugin_maimai-0.5.3.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62ed7470d4c421a31220b6b2fa5422fac7ea134704c3a5c5a6ae0cc11f551c93
|
|
BLAKE2b-256 checksum How to use checksums |
669d3ba955619fc9d99648c92ef575db9d817e77834a58c7517732e4742b99fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / nonebot_plugin_maimai-0.5.3-py3-none-any.whl
| Download URL | nonebot_plugin_maimai-0.5.3-py3-none-any.whl |
|---|---|
| Size | 27.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10f5fc064e8e63a84d48009870f6c18b15d4af17eadc4b303e1370ad87dc0e4e
|
|
BLAKE2b-256 checksum How to use checksums |
98be3e074fcb686bc1a3d80294e8af749a8e6bf8ed24e48dcd870afd666e3bb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for nonebot-plugin-maimai 0.5.3
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.