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.14.tar.gz
(396.9 kB
view hashes)
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8349fdebc7c0a4287b8aeeba92919975af3bfe005c163291c26da899f48413f7 |
|
MD5 | 7637fbe017f4b170205dac97428cd2e8 |
|
BLAKE2b-256 | 87f19f273fb4d183668cfb285332e8cfc2026687f331afb56f0bedb12aaf93fd |
Close
Hashes for nonebot_plugin_maimaidx-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d325f735fbc0169e2e8ca7ef406cbe39a9949c5299491eb9e9b2c3b359442369 |
|
MD5 | cb0a05b48a926f32af61080decd09807 |
|
BLAKE2b-256 | f2ee9f713a010ab3f5bd3f0b6700b4a7878209745d4f05895922334f32510e05 |