📖 介绍
使用 DeepDanbooru 进行图像分析
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-savor
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-savor
pdm
pdm add nonebot-plugin-savor
poetry
poetry add nonebot-plugin-savor
conda
conda install nonebot-plugin-savor
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_savor')
🎉 使用
指令表
| 指令 | 需要@ | 范围 | 说明 |
|---|---|---|---|
| 鉴赏图片/分析图片 + 图片 | 否 | 群聊/私聊 | 分析发送的图片, 支持回复图片 |
注意
默认情况下, 您应该在指令前加上命令前缀, 通常是 /
Release files for nonebot-plugin-savor 0.2.2
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-savor-0.2.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_savor-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / nonebot-plugin-savor-0.2.2.tar.gz
| Download URL | nonebot-plugin-savor-0.2.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1919171c8d2685e16cc132f9c1bf17dd19cba5c58a04d93e2113c7539f1cfc1
|
|
BLAKE2b-256 checksum How to use checksums |
868f6612c190f8e13d885dd3218677efdf84b0b930e50879acde3cb7cf7d45ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / nonebot_plugin_savor-0.2.2-py3-none-any.whl
| Download URL | nonebot_plugin_savor-0.2.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1a8338c46c0f8b23a19664dc73595bcfce5f13e2d3cef167ab9d6d05b2ffee5
|
|
BLAKE2b-256 checksum How to use checksums |
00523c0979fabe86c8c636e14f0017cde18e8d5bd8c41526d9b8c57a9fd4ea46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|