Update index.js

This commit is contained in:
ikechan8370 2023-01-16 19:27:00 +08:00 committed by GitHub
parent 5a603d65ef
commit 241cc6c2ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ export const Config = {
username: '',
password: '',
// 改为true后全局默认以图片形式回复并自动发出Continue命令补全回答
defaultUsePicture: false,
defaultUsePicture: true,
// 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒
conversationPreserveTime: 0,
// UA: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
@ -21,7 +21,7 @@ export const Config = {
// true时使用无头模式无界面的服务器可以为true但遇到验证码时可能无法使用。
headless: false,
// 为空使用默认puppeteer的chromium也可以传递自己本机安装的Chrome可执行文件地址提高通过率
chromePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
chromePath: '',
// 可注册2captcha实现跳过验证码收费服务但很便宜。否则需要手点
'2captchaToken': '43ea84056638820040af89d03910bb97'
'2captchaToken': ''
}