maimaidx plugin for nonebot2
Project description
重要更新
2024-03-12
由于别名服务器旧域名将于 2024-03-15
过期,并且重构了别名服务器,请求以及参数均已变更,请尽快更新避免无法访问别名服务器
安装
-
安装
nonebot-plugin-maimaidx
- 使用
nb-cli
安装nb plugin install nonebot-plugin-maimaidx
- 使用
pip
安装pip install nonebot-plugin-maimaidx
- 使用源代码(不推荐) 需自行安装额外依赖
git clone https://github.com/Yuri-YuzuChaN/nonebot-plugin-maimaidx
- 使用
-
安装
PhantomJS
,前往 https://phantomjs.org/download.html 下载对应平台支持
[!WARNING] 未配置
PhantomJS
支持的Bot,在使用ginfo
指令时会被强制关闭 Bot 进程
配置
-
下载静态资源文件,将该压缩文件解压,且解压完为文件夹
static
。下载链接 -
在
.env
文件中配置静态文件绝对路径MAIMAIDXPATH
MAIMAIDXPATH=path.to.static # 例如 windows 平台,非 "管理员模式" 运行Bot尽量避免存放在C盘 MAIMAIDXPATH=D:\bot\static # 例如 linux 平台 MAIMAIDXPATH=/root/static
-
可选,如果拥有
diving-fish 查分器
的开发者Token
,在.env
文件夹中配置MAIMAIDXTOKEN
MAIMAIDXTOKEN=MAIMAITOKEN
[!NOTE] 插件带有别名更新推送功能,如果不需要请私聊Bot使用
全局关闭别名推送
指令关闭所有群组推送
指令
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
nonebot-plugin-maimaidx-0.0.13.tar.gz
(396.9 kB
view hashes)
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 070f7b7df8b4ecd6e0de3f1aa83b76be50a1608ac922c93915a5f76c17f36dd2 |
|
MD5 | 4368eb1cd1a107c92bf992de459c5f47 |
|
BLAKE2b-256 | d1bc7743f81ee94c022e0e48577fe3e200aa77e181d9d4f2a5e4555bf2bc8f2c |
Close
Hashes for nonebot_plugin_maimaidx-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e8b489b56e7d2703ab5aae30fa99c61289a04d7be6ed95a6a3b731b7f36622 |
|
MD5 | dfb7d8fc43108c77cb96ea2527b5c9fa |
|
BLAKE2b-256 | 16d65708b341d3d03a2f37385c41620ca0cd44e87643586ba827a810ac6608e3 |