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.11.tar.gz
(396.9 kB
view hashes)
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec96ab72219103a6453eb13fd56ab5a6f39c423993f45f8dd47de9356e4182d5 |
|
MD5 | 8da3f7c7f9cb7ee8450a4265841df7e4 |
|
BLAKE2b-256 | 869b0e16ab0c7be8a8784683d5d4936039f874ffab7932bb36f2087c76e21ff4 |
Close
Hashes for nonebot_plugin_maimaidx-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3124b72acd4fadedf2a4f255e8c6acfee329f01785111b81cb080c7b4bf22386 |
|
MD5 | b5a81b1f844c63b256de729806348eb4 |
|
BLAKE2b-256 | 93727c613a805c6419fe7e044c816e7cc109acf0c7e6fe2f4cb9f79bccd41138 |