基于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")
正式使用
下载涩图
本涩图插件采用的是下载和发图活动分离的方式,因此你必须先下载好涩图才能够发送涩图,命令也十分简单,直接向机器人发送命令
下载涩图即可,系统会自动下载好涩图存放在loliconImage里面(data的同级目录),一次默认下载量是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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd065677c722b35f30a38f6825c3c675ddb5780f1785ff4d3986e8145601d6d |
|
MD5 | bc43775d1b09c9788e158f5eee305d3e |
|
BLAKE2b-256 | 70a19e317d4064037ca9b03a171d74ef8af75ed1ba59117a1b2f4937d3465a6a |