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 群员 群聊 获取一张男娘图片

效果图

致谢

nonebot2
nonebot-plugin-template
nonebot-plugin-send-anything-anywhere
nonebot-plugin-limiter
nonebot-plugin-localstore
dress-api
Dress
loliconAPI
And You

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.1.tar.gz (8.2 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.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b3beded33a93077a1b7a60f44e5b656c69460763c42986bf616cf4aa4a9341e2
MD5 2a17a44ffd0c733b5faed6e77b420354
BLAKE2b-256 8c2e078c04872924a64f6ccb4204c793c189c3bb0e0ee14b8fd1c037faf69d18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 487a759bee91ba4a07aa6bf01107942dc2202defb1715b75fed11e9af598871a
MD5 2e1e3ee200f8610ed373f25a4ecfd18d
BLAKE2b-256 6229ff6aeace4e239094744ea1862d51a54dd85b9cf1b10e6023dc645233e67d

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