Skip to content

配置文件

yuban10703 edited this page Jul 17, 2021 · 35 revisions

首次启动需要配置的文件有:

OPQ-SetuBot/botoy.json

OPQ-SetuBot/plugins/bot_Setu/APIS/[.PixivToken.json](配置文件 · opq-osc/OPQ-SetuBot Wiki (github.com))

OPQ-SetuBot/plugins/bot_Search_Picture/config.json

OPQ-SetuBot/botoy.json

字段名 说明
host OPQ的IP,本机运行就 http://127.0.0.1
port OPQ的端口,没修改过就是8888
bot bot的qq
superAdmin 你的qq
proxies 代理
group_blacklist
friend_blacklist
blocked_users
webhook
webhook_post_url
webhook_timeout

OPQ-SetuBot/plugins/bot_Setu/APIS/.PixivToken.json

按照这里操作Pixiv OAuth Flow (with Selenium) (github.com)(往下拉,有中文)

最后把这里面斜体加粗的字符串完整粘贴到 .PixivToken.json 文件里的对应位置

OPQ-SetuBot/plugins/bot_Search_Picture/config.json

字段名 说明
saucenaoAPIKEY saucenao的apikey,申请地址: SauceNAO User Config,注册后左侧api白字点进去的api key
Clone this wiki locally