Skip to main content

基于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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_setu-0.0.4.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page