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.12.tar.gz
(396.9 kB
view hashes)
Built Distribution
Close
Hashes for nonebot-plugin-maimaidx-0.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6953db408a6dd4da0b7fcdb0c654cd87b2dd24a94f81c3914914c01dfe7ae45 |
|
MD5 | f552563a44ad99f63a33a18c1db7ab2c |
|
BLAKE2b-256 | 3e553d336e9d45f5d884cedcfe622131046c6a71f2712cc2825b8229fdabd537 |
Close
Hashes for nonebot_plugin_maimaidx-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1892d0b8c9be3b0a0e5d3281432d62ccf567c9729c5c278dc09c3d284f84e33 |
|
MD5 | dff1779ec61fddf5b55664ff91fc4262 |
|
BLAKE2b-256 | fdbba4af61802085d38c0012500ea18616295cdbd6148abd1d9fa1260a08796d |