Skip to main content

Maimai DX plugin for NoneBot

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot_plugin_maimai

✨maimaiDX,nonebot2插件版本✨

GitHub stars GitHub issues QQ Chat Group python NoneBot

说明

mai-bot适配nonebot2插件,测试环境nonebot2.0.0rc1

修改部分:

  • b40/b50可以艾特人查询
  • static文件可以放maimai插件文件夹中,或机器人路径下/data/maimai/static

我做的适配有问题请冲我来不要打扰原作者捏,可以提iss或者加群qq反馈,

前置步骤(和原项目一样)

安装:

pip3 install nonebot_plugin_maimai
nb plugin install nonebot_plugin_maimai
# git clone 那我建议你还是用原作者的罢

您需要从此链接下载资源文件并,并将其static文件解压到:(以下方法2选1)

  • pypinonebot_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


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_maimai-0.1.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_maimai-0.1.1-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_maimai-0.1.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_maimai-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.9.10 Windows/10

File hashes

Hashes for nonebot_plugin_maimai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78baeb046bee87c8162abdb4df11ef56b0e2647be77ee43600827ab91fece325
MD5 4209035a01eaad1e72e7a1608d180179
BLAKE2b-256 5454afeefce5867765190ba9fb236e091c803227da5dbcef11352eaf77bb135b

See more details on using hashes here.

File details

Details for the file nonebot_plugin_maimai-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_maimai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd78844bbb1681a17db3f753cf19470f6926935728c78460d11b023ca5fcd710
MD5 4c75484f578de5dab5fac7c0cb78c027
BLAKE2b-256 7ff9359091e6c4cc8bc8e34aabbc7169b82be1534139be244e0e80470aed04b3

See more details on using hashes here.

Supported by

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