nonebot_plugin_jmcomic
✨下载禁漫本子并发送✨
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-jmcomic
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-jmcomic
pdm
pdm add nonebot-plugin-jmcomic
poetry
poetry add nonebot-plugin-jmcomic
conda
conda install nonebot-plugin-jmcomic
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_jmcomic"]
⚙️ 配置
在 nonebot2 项目的 env 文件中添加下表中的必填配置
| 配置项 | 必填 | 类型 | 默认值 | 说明 |
|---|---|---|---|---|
| jm_client | 否 | bool | True | 为 True 时, 将使用 file:/// 协议发送文件(客户端使用 NapCat/LLOB); 为 False 时使用绝对路径发送(客户端使用 Lagrange) |
关于代理等配置请移步插件配置目录下 option.yml 文件并参考 option_file_syntax 进行配置.
默认不需要更改.
🎉 使用
jm + id
例如: jm 114514
📚 待办
本插件仅提供了基本功能, 欢迎大家 pr.
Metadata
Release files for nonebot-plugin-jmcomic 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_jmcomic-0.1.9.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_jmcomic-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / nonebot_plugin_jmcomic-0.1.9.tar.gz
| Download URL | nonebot_plugin_jmcomic-0.1.9.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75d703ee604edbb824fd1875ea9098c38f8d478d7752168ed199404a6c49ba55
|
|
BLAKE2b-256 checksum How to use checksums |
99bd100b4fee71226911386b5b499af0a1b96e11f3594f44fe6d5b8a67e08833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.11 Windows/10
|
Release files / nonebot_plugin_jmcomic-0.1.9-py3-none-any.whl
| Download URL | nonebot_plugin_jmcomic-0.1.9-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16bab58b21ebb0d695815c88009a3c7262cbe3270066ae36a03d4338c63ea75c
|
|
BLAKE2b-256 checksum How to use checksums |
7fe88db25b67cd8eabf887ccfb3a5491e208f7f9ff4b104f1cc90bd3728d9e59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.11 Windows/10
|