基于nonebot2、loliconImages Api的涩图插件
Project description
nonebot_plugin_setu
基于nonebot2、loliconImage的涩图插件
使用方式
添加配置
在你的.env文件中添加如下配置:
SUPERUSERS=["主人的qq号"]
#注意,必须设置代理才能下载涩图
LOCAL_PROXY = '代理地址(例如http://127.0.0.1:7890),这与你使用的代理有关'
#涩图CD
SETU_CD = xxx秒
在bot.py中添加
nonebot.load_plugin("nonebot_plugin_setu")
正式使用
下载涩图
本涩图插件采用的是下载和发图活动分离的方式,因此你必须先下载好涩图才能够发送涩图,命令也十分简单,直接向机器人发送命令
下载涩图即可,系统会自动下载好涩图存放在data/loliconImage里面,一次默认下载量是80张,可以在init.py中进行更改
发送涩图
向机器人发送命令setu、涩图、色图、无内鬼之一即可发送色图
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
Close
Hashes for nonebot_plugin_setu-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b58dac4d1e42cc5a6abcfbf9d74e16a003afb1a9bb4066d7564b6cb16a2f0c54 |
|
MD5 | bee62251a624c135b2aaff541f6e856f |
|
BLAKE2b-256 | 1dde6cd38fc33814c4b32464e5fcd49c6396beac8d5e9618321aac8e48806d56 |