Maimai DX plugin for NoneBot
Project description
说明(已更新舞萌国服2023,重新下载资源)
从mai-bot适配nonebot2插件,测试环境nonebot2.0.0
修改部分:
- b40/b50可以艾特人查询
- static文件可以放maimai插件文件夹中,或机器人路径下/data/maimai/static
- (可循)env设置
maimai_font
,是str对象的字体
- 新增指令
b站搜索[text]
我做的适配有问题请冲我来不要打扰原作者捏,可以提iss或者加群qq反馈,
前置步骤(和原项目一样)
安装(仍选其一):
pip3 install nonebot_plugin_maimai
nb plugin install nonebot_plugin_maimai
git clone https://github.com/Agnes4m/nonebot_plugin_maimai.git
您需要从此链接下载资源文件并,并将其static文件解压到:(以下方法2选1)
- 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 提供了如下功能:
命令 | 功能 |
---|---|
help | 查看帮助文档 |
今日舞萌 | 查看今天的舞萌运势 |
XXXmaimaiXXX什么 | 随机一首歌 |
随个[dx/标准][绿黄红紫白]<难度> | 随机一首指定条件的乐曲 |
查歌<乐曲标题的一部分> | 查询符合条件的乐曲 |
[绿黄红紫白]id<歌曲编号> | 查询乐曲信息或谱面信息 |
定数查歌 <定数> 定数查歌 <定数下限> <定数上限> |
查询定数对应的乐曲 |
分数线 <难度+歌曲id> <分数线> | 展示歌曲的分数线 |
原作者
Diving-Fish,感谢大佬为音游人的无私奉献
License
MIT
您可以自由使用本项目的代码用于商业或非商业的用途,但必须附带 MIT 授权协议。
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
Close
Hashes for nonebot_plugin_maimai-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2ed51470edb837009aefb71d9b99d0a5f6710a854e3d08d561bfa6116323c44 |
|
MD5 | 6d1a9ab2fcd1b832e5e33056b11cbae1 |
|
BLAKE2b-256 | 9f0320371030b2f1f9ee29c5b966a8e86c77c8337bfe882200ba58795eacb81a |
Close
Hashes for nonebot_plugin_maimai-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17db02eeebb05db37994890cd4b44dd5e83211d03596924ee6a5ee6ea98cd588 |
|
MD5 | 19ef4389ad41f09b6902d3e3a6f4ea70 |
|
BLAKE2b-256 | 53b66f782b93cb816a146ba46f0cc398733af85d71eb4896feaa114832116fce |