Skip to content

nomdn/nonebot-plugin-simple-setu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

一个简单的插件,让你的机器人发色图

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages