Skip to content

配置文件

yuban10703 edited this page Apr 2, 2022 · 35 revisions

botoy.json

字段名 说明
host OPQ的IP,本机运行就 http://127.0.0.1
port OPQ的端口,没修改过就是8888
group_blacklist
friend_blacklist
blocked_users
webhook
webhook_post_url
webhook_timeout
qq 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
Clone this wiki locally