-
Notifications
You must be signed in to change notification settings - Fork 34
配置文件
yuban10703 edited this page Apr 2, 2022
·
35 revisions
在配置完后还需要运行OPQ-SetuBot/script下的generateConfig.py 来给Setu插件生成各个群的配置文件
字段名 | 说明 |
---|---|
host | OPQ的IP,本机运行就 http://127.0.0.1 |
port | OPQ的端口,没修改过就是8888 |
group_blacklist | 略 |
friend_blacklist | 略 |
blocked_users | 略 |
webhook | 略 |
webhook_post_url | 略 |
webhook_timeout | 略 |
bot的QQ号 | |
superAdmin | 你的QQ号 |
proxies_http | http代理 例子: "proxies_http":{"all://": "http://127.0.0.1:8030"} |
proxies_socks | sock代理 例子: "proxies_socks":"socks5://username:[email protected]:8888" |
setu.base64_send | 如果配置了代理就会通过代理下载图片后传给OPQBot上传 false:把图片的链接传给OPQBot,由OPQBot下载上传 |
setu.refresh_token | Pixiv的refresh_token 从0开始搭建一个色图Bot#获取refresh-token (也可以自己抓包来获取) |
searchPicture.apiKey | saucenao的apikey,申请地址: SauceNAO User Config ,注册后左侧api白字点进去的api key |