Skip to main content

一个简单到不能再简单的色图插件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-simple-setu

✨ NoneBot 简单色图插件 ✨

license pypi python

📖 介绍

一个简单到不能再简单的色图插件 正在进行大重构

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-simple-setu
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-simple-setu
pdm
pdm add nonebot-plugin-simple-setu
poetry
poetry add nonebot-plugin-simple-setu
conda
conda install nonebot-plugin-simple-setu

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_simple_setu"]

⚙️ 配置

在 系统配置目录 nonebot2/nonebot_plugin_simple_setu/config.toml 中修改以下内容

[simple_setu]
# pixiv 图片proxy(可选)
pixiv_proxy = ""
# 功能开关
enable_setu = true
enable_dress_api_keyword = true
# dress-api url配置(可选)
dress_api_url = ""
# 冷却时间
cooldown_time = 10
# 速率限制
limit= 2

🎉 使用

指令表

指令 权限 需要@ 范围 说明
/setu 群员 群聊 随机获得一张色图,后面可以加tag,如/setu tag
/dress-api 群员 群聊 获取一张男娘图片

效果图

Project details


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_simple_setu-0.2.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_simple_setu-0.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_simple_setu-0.2.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6775e69e8b537e640de3a17aef67f9a362fe0b7a62532d5b166ff18c8cb08ac9
MD5 5fa2e8282a9d38adc61b3545d2afd74d
BLAKE2b-256 b8339ea030e33b9c24c1c7414098411f9d173fa0761e076fe22f05b0817c367f

See more details on using hashes here.

File details

Details for the file nonebot_plugin_simple_setu-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb1f16bc2a6a19e73e9042c1c92dbf7fb00f5b5f2beaee490e0c9bd79269410e
MD5 2707377fb31e131b38da63a7fba76bce
BLAKE2b-256 37281296c0243a6dfd3d86e275814019d884ba9d7ff0d67717a69a41f13dd7e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page