基于nonebot2、loliconImages Api的涩图插件
Project description
nonebot_plugin_setu
基于nonebot2、loliconImage的涩图插件
使用方式
添加配置
在你的.env文件中添加如下配置:
SUPERUSERS=["主人的qq号"]
#注意: 确保能够访问相关服务后才能下载涩图
PROXIES_HTTP='HTTP魔法地址(例如http://127.0.0.1:7890),这与你使用的魔法有关'
PROXIES_SOCKS='SOCKS5魔法地址(例如socks5://127.0.0.1:10808),这与你使用的魔法有关'
#涩图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
Built Distribution
Close
Hashes for nonebot_plugin_setu-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcce63ea1ac55923068509a32418e742a7c70387a0a32f007331ded3c44cf59b |
|
MD5 | 8b3804e234bed16a08dfa3490d32cbcb |
|
BLAKE2b-256 | df7a254727a6d301ddc95653114b0b649c6a4d34cc6d8294c8dbfe13fe48e0a5 |
Close
Hashes for nonebot_plugin_setu-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10260c9e66f1f9852da61744e1e575034e1196669be16bcb76879e1e6688c78d |
|
MD5 | 7aca1bed594b673856be0c6ff4f11a5f |
|
BLAKE2b-256 | e8f11a056d4d47496f39cb9946556a15640d76d63a81c46c6d6884b4a2ab0342 |