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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.3.tar.gz
Algorithm Hash digest
SHA256 7ba76b75f6b8f6831c57542aeff3ba8f9b19b120b98ecedc51a5f267735a7bd2
MD5 152ec26c185e3cda0e3646280d41ed3a
BLAKE2b-256 96f55a8592bde67446f6770c0edfb2f7f95f5ba6586b3a56fde2dae2d1b9ac3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_simple_setu-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8536fefb3bee17f7e7ec83fa011488b2c5f41e4f42ddb5f3f0ca8411583b9f
MD5 2967ea1c018deb1a7c17d5d503a0fa25
BLAKE2b-256 e3052c1dbccee8b1bff21a4ad4912ee4e2a9ab9f349a423ed1de93d40a1aac9a

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