maimaidx plugin for nonebot2
Project description
重要更新
安装
-
安装
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 进程
配置
-
在
.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
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b79670f9e967c06fcddeed97dc31e9e76fef5bb03f5c28e5147865e4f60ece9 |
|
MD5 | 3d1fa0a59fa5788445c2fdf3e7665ab9 |
|
BLAKE2b-256 | 7f8ede5e98f9230276bc2fe2e5aec172c96fdfbc0161941cc62ded8af1d1891f |
Close
Hashes for nonebot_plugin_maimaidx-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcea6c933a0dd18503a5294f3e78ae66bf2f2b8c0a120e22efbc2a4079b8c7a0 |
|
MD5 | 7a4c9834071ee12d7122bdfa7ea4734f |
|
BLAKE2b-256 | babf4cd18a6341dd86e4ce61ef400ea1ab5eae41f5be74d16883c58633e3356b |