maimaidx plugin for nonebot2
Project description
重要更新
2024-01-14
此次更新新增一张图片,用于更新定数表,如觉得重新下载资源包麻烦,请使用该链接下载图片,并将图片保存为文件名 top.png
存放在静态文件夹 /static/mai/pic
目录下
安装
-
安装
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.10.tar.gz
(396.7 kB
view hashes)
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121e64466f86b8e8f923d3dad99fd860e48532a45d78dee5a6bb5ca239100662 |
|
MD5 | 360250cf62307ecb4098b1fd2ccb2cfd |
|
BLAKE2b-256 | a747801af04616b31de791091a38b379e26a80cfa2917ee8e0c737abdb6a4ff1 |
Close
Hashes for nonebot_plugin_maimaidx-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cdf81dde3cb3bf27b54d3d3038af563be9c0b73aedee2022ad1f78d7152d610 |
|
MD5 | ae47933cc6aabacd11b8f1a0df896f46 |
|
BLAKE2b-256 | 5784c95f39c80efc7f1d57032ee406d2ce8511553f2b52cf5c66bc316cf181d6 |