forked from Tsuk1ko/cq-picsearcher-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.default.json
118 lines (118 loc) · 3.4 KB
/
config.default.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"$schema": "./config.schema.json",
"cqws": {
"host": "127.0.0.1",
"port": 6700,
"enableAPI": true,
"enableEvent": true,
"accessToken": "",
"reconnection": true,
"reconnectionAttempts": 10,
"reconnectionDelay": 5000
},
"bot": {
"debug": false,
"admin": -1,
"enablePM": true,
"enableGM": true,
"autoAddFriend": false,
"addFriendAnswers": [],
"autoAddGroup": false,
"hideImg": false,
"hideImgWhenLowAcc": false,
"hideImgWhenWhatanimeR18": false,
"saucenaoDefaultDB": "all",
"saucenaoLowAcc": 60,
"useAscii2dWhenQuotaExcess": true,
"useAscii2dWhenLowAcc": true,
"searchLimit": 30,
"searchModeTimeout": 60,
"pmSearchResult": false,
"proxy": "",
"cache": {
"enable": true,
"expire": 172800
},
"repeat": {
"enable": true,
"times": 3,
"probability": 40,
"commonProb": 0.2
},
"setu": {
"enable": false,
"apikey": "",
"antiShielding": false,
"allowPM": true,
"pximgServerPort": 60233,
"usePximgAddr": "",
"pximgProxy": "",
"size1200": false,
"deleteTime": 60,
"cd": 600,
"limit": 30,
"whiteGroup": [],
"whiteOnly": false,
"whiteCd": 0,
"whiteDeleteTime": 0,
"r18OnlyInWhite": true
},
"regs": {
"searchModeOn": "^竹竹搜[图圖]$",
"searchModeOff": "^[谢謝]+竹竹$",
"setu": "^竹竹.*[来來发發给給][张張个個幅点點份]?(?<r18>[Rr]18的?)?(?<keyword>.*?)?的?[色瑟][图圖]|^--setu$"
},
"replys": {
"default": "必须要发送图片我才能帮你找噢_(:3」」\n支持批量!",
"debug": "维护升级中,暂时不能使用,抱歉啦~",
"personLimit": "您今天搜的图太多辣!休息一下明天再来搜罢~",
"failed": "搜索失败惹 QAQ\n有可能是服务器网络爆炸,请重试一次",
"searchModeOn": "了解~请发送图片吧!支持批量噢!\n如想退出搜索模式请发送“谢谢竹竹”",
"searchModeAlreadyOn": "您已经在搜图模式下啦!\n如想退出搜索模式请发送“谢谢竹竹”",
"searchModeOff": "不用谢~",
"searchModeAlreadyOff": "にゃ~",
"searchModeTimeout": "由于超时,已为您自动退出搜图模式,以后要记得说“谢谢竹竹”来退出搜图模式噢",
"setuLimit": "乖,要懂得节制噢 →_→",
"setuError": "瑟图服务器爆炸惹_(:3」∠)_",
"setuReject": "很抱歉,该功能暂不开放_(:3」」",
"setuQuotaExceeded": ""
},
"ocr": {
"use": "ocr.space",
"ocr.space": {
"defaultLANG": "eng",
"apikey": ""
},
"baidubce": {
"useApi": "accurate_basic",
"apiKey": "",
"secretKey": ""
},
"tencent": {
"SecretId": "",
"SecretKey": "",
"Region": "ap-beijing",
"useApi": ["GeneralBasicOCR", "GeneralFastOCR", "GeneralAccurateOCR"]
}
},
"akhr": {
"enable": false,
"ocr": "ocr.space"
},
"reminder": {
"enable": false,
"onlyPM": false,
"onlyAdmin": false
},
"antiBiliMiniApp": {
"despise": true,
"getVideoInfo": true
},
"corpus": []
},
"saucenaoHost": ["saucenao.com"],
"saucenaoApiKey": "",
"whatanimeHost": ["trace.moe"],
"whatanimeToken": "",
"ascii2dHost": ["ascii2d.net"]
}