另一个色图插件
Project description
nonebot-plugin-setu-now
- 另一个色图插件
- 根据别人的改了亿点点
- 现在可以色图保存到
WebDAV
服务器中来节省服务器空间(可选) - 采用即时下载并保存的方式来扩充自己色图库(可选)
- 支持私聊获取
特殊色图 - 对临时聊天不生效
安装配置
pip install -U nonebot-plugin-setu-now
.env 默认配置 (爱看不看,不看也能用)
setu_cd=60
setu_save=
setu_path=
setu_porxy=
setu_reverse_proxy=
setu_dav_url=
setu_dav_username=
setu_dav_password=
setu_send_info_message=
setu_send_custom_message_path=
setu_cd
CD(单位秒) 可选 默认60
秒setu_save
保存模式 可选webdav
(保存到 webdav 服务器中) 或local
(本地) 或 留空,不保存setu_path
保存路径 可选 当选择保存模式时可按需填写, 可不填使用默认- webdav 可选 默认
/setu
/setur18
- 本地 可选 默认
./data/setu
./data/setur18
- webdav 可选 默认
setu_porxy
代理地址 可选 当 pixiv 反向代理不能使用时可自定义setu_reverse_proxy
pixiv 反向代理 可选 默认i.pixiv.re
- webdav 设置 当选择保存保存模式为
webdav
时必须填写setu_dav_username
用户名setu_dav_password
密码setu_dav_url
webdav 服务器地址
setu_send_info_message
是否发送图片信息 可选 默认ture
填写false
可关闭setu_send_custom_message_path
自定义发送消息路径 可选 当填写路径时候开启 可以为相对路径- 文件应该为
json
格式如下 - 可在
setu_message_cd
中添加{cd_msg}
提示CD时间
{ "setu_message_send": ["abc"], "setu_message_cd": ["cba cd: {cd_msg}"] }
- 文件应该为
所有配置都可选了,还能出问题吗?
bot.py
nonebot.load_plugin("nonebot_plugin_setu_now")
使用
- 指令
(setu|色图|涩图|来点色色|色色|涩涩)\s?(r18)?\s?(.*)?
- 看不懂?
setu|色图|涩图|来点色色|色色|涩涩
任意关键词r18
可选 仅在私聊可用 群聊直接忽视关键词
可选
- 看不懂?
- 例子
来点色色 妹妹
setur18
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-setu-now-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd58416bd889b8383ddabe207c85b2169ae8d2e2ece49801db951ee8dfa02fc |
|
MD5 | cf9d13a073694124251e36a3d396674c |
|
BLAKE2b-256 | 6de4d962841cecd133b6de178ecab5ba78b71e752c6a891a2c8be94bbf96cfb5 |
Close
Hashes for nonebot_plugin_setu_now-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27746735c81f8fdc3dcf5d03b2447b25c059225591c254bd608a55ad8b5a6319 |
|
MD5 | 4568186e8b9e28454f2581128736c31b |
|
BLAKE2b-256 | f1424575fa014e50b04c8d38503c5ad9717e257ad7ee6cfc32eb441fc6a30867 |