-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathconfig.json
More file actions
161 lines (161 loc) · 4.27 KB
/
Copy pathconfig.json
File metadata and controls
161 lines (161 loc) · 4.27 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"facebookAccount": {
"email": "",
"password": "",
"2FASecret": "",
"i_user": "",
"proxy": null,
"userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36",
"intervalGetNewCookie": 1440,
"notes": "Automatically retrieves new cookies every x minutes. Recommended: 1440 (1 day)."
},
"antiInbox": false,
"language": "en",
"notesLanguage": "change language using ISO 639-1 code",
"nickNameBot": "—͞ 𝐐𝐔𝐄𝐄𝐍 🎀❤️🩹",
"prefix": "/",
"noPrefix": {
"enable": false,
"notes": "true = only bot admins can use commands without prefix | false = everyone must use prefix"
},
"adminOnly": {
"enable": false,
"ignoreCommand": []
},
"adminBot": [
"61583835186508",
" ",
" "
],
"reactUnsend": {
"enable": true,
"onlyAdmin": true,
"emojis": [
"😡",
"🤬"
],
"notes": "If enable = true, bot will unsend any message reacted with these emojis. If onlyAdmin = true, only adminBot IDs can trigger it."
},
"whiteListMode": {
"enable": false,
"whiteListIds": [
"100083039411474",
"100063840894133"
],
"notes": "If enabled, only IDs in whiteListIds can use the bot."
},
"whiteListModeThread": {
"enable": false,
"whiteListThreadIds": [],
"notes": "If enabled, only threads in whiteListThreadIds can use the bot."
},
"database": {
"type": "mongodb",
"uriMongodb": "mongodb+srv://eryxenxdb:eryxenxdbgoatv2@cluster0.523a3n0.mongodb.net/?appName=Cluster0",
"autoSyncWhenStart": false,
"autoRefreshThreadInfoFirstTime": true,
"notes": "Recommended using 'mongodb' or 'sqlite'."
},
"timeZone": "Asia/Dhaka",
"credentials": {
"gmailAccount": {
"email": "botofnexxo@gmail.com",
"clientId": "848792512039-g3mlfd39p9ttu82ga4kahk6kadjr0hcp.apps.googleusercontent.com",
"clientSecret": "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",
"refreshToken": " ",
"apiKey": ""
},
"gRecaptcha": {
"siteKey": "6LfU0TUrAAAAAJVy_tm-q9xlEIEeyBK4N8VwuGdZ",
"secretKey": "6LfU0TUrAAAAAOR_CE7oZV-8Eo83LsJmb12-lWFb"
}
},
"dashBoard": {
"enable": true,
"expireVerifyCode": 300000,
"port": 3001
},
"serverUptime": {
"enable": false,
"port": 3001,
"socket": {
"enable": true,
"channelName": "uptime",
"verifyToken": ""
}
},
"autoRestart": {
"time": null,
"notes": "Example: 60000 (1min), 3600000 (1hr), 0 0 * * * (daily)."
},
"autoUptime": {
"enable": false,
"timeInterval": 180,
"url": "",
"notes": "Time in seconds. Recommended for uptime monitors."
},
"autoLoadScripts": {
"enable": false,
"ignoreCmds": "",
"ignoreEvents": "",
"notes": "Automatically reloads scripts if edited."
},
"autoRefreshFbstate": true,
"autoReloginWhenChangeAccount": false,
"autoRestartWhenListenMqttError": true,
"restartListenMqtt": {
"enable": false,
"timeRestart": 3600000,
"delayAfterStopListening": 2000,
"logNoti": true,
"notes": "Restart listener every 1 hour."
},
"notiWhenListenMqttError": {
"notes": "Notification settings when MQTT stops listening.",
"gmail": {
"enable": false,
"emailGetNoti": ""
},
"telegram": {
"enable": false,
"botToken": "",
"chatId": ""
},
"discordHook": {
"enable": false,
"webhookUrl": ""
}
},
"hideNotiMessage": {
"commandNotFound": false,
"adminOnly": false,
"threadBanned": false,
"userBanned": false,
"needRoleToUseCmd": false,
"needRoleToUseCmdOnReply": false,
"needRoleToUseCmdOnReaction": false
},
"logEvents": {
"disableAll": false,
"message": true,
"message_reaction": true,
"message_unsend": true,
"message_reply": true,
"event": true,
"read_receipt": false,
"typ": false,
"presence": false
},
"optionsFca": {
"forceLogin": true,
"listenEvents": true,
"updatePresence": true,
"listenTyping": true,
"logLevel": "error",
"selfListen": false,
"selfListenEvent": true,
"autoMarkDelivery": false,
"autoReconnect": true,
"notes": "Docs: https://github.com/ntkhang03/fb-chat-api/blob/master/DOCS.md#apisetoptionsoptions"
}
}