Repository navigation
Expand file tree
/
Copy pathconfig.json
More file actions
197 lines (197 loc) · 5.62 KB
/
Copy pathconfig.json
File metadata and controls
197 lines (197 loc) · 5.62 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"facebookAccount": {
"email": "",
"password": "",
"2FASecret": "",
"i_user": "",
"proxy": null,
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36",
"intervalGetNewCookie": null,
"notes": "time the system automatically retrieves new cookies from email/password, unit is minute, if you set null, the system will not automatically retrieve new cookies."
},
"antiInbox": false,
"language": "en",
"notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)",
"nickNameBot": "Floppa Bot 🐱",
"prefix": "!",
"noPrefix": true,
"noPrefixNotes": "When true, Bot Admins (role 2) and Developers (role 4) can run commands without the prefix (inline with arguments or multiline). Casual conversation containing command words or starting with casual phrases is ignored.",
"adminOnly": {
"enable": false,
"ignoreCommand": []
},
"botOff": true,
"events": true,
"eventsOff": false,
"reactOff": false,
"commandReaction": {
"enable": true,
"emoji": "👍",
"mode": "media",
"notes": "Controls bot reactions on issued commands. 'enable': true/false; 'emoji': reaction emoji (e.g. 👍, ❤️, 🔥, ✨); 'mode': 'media' (react only on image/media commands) or 'all' (react on all commands)."
},
"adminBot": [
"100094924471568",
"61593675886067",
"61557169379945"
],
"premiumUsers": [
"100094924471568",
"61593675886067",
"61557169379945"
],
"devUsers": [
"100094924471568",
"61593675886067",
"61557169379945"
],
"notes_premiumUsers": "List of user IDs with premium access (role 3)",
"notes_devUsers": "List of developer IDs with full access (role 4)",
"whiteListMode": {
"enable": false,
"whiteListIds": [],
"notes": "if you enable this feature, only the ids in the whiteListIds list can use the bot"
},
"whiteListModeThread": {
"enable": false,
"whiteListThreadIds": [],
"notes": "if you enable this feature, only the thread in the whiteListThreadIds list can use the bot"
},
"database": {
"type": "sqlite",
"uriMongodb": "",
"autoSyncWhenStart": false,
"autoRefreshThreadInfoFirstTime": true
},
"timeZone": "Asia/Dhaka",
"dashBoard": {
"enable": true,
"expireVerifyCode": 300000,
"port": 5000
},
"serverUptime": {
"enable": false,
"port": 5000,
"socket": {
"enable": true,
"channelName": "uptime",
"verifyToken": "8126831f37f9cb8d6ba35489bac1ac619b114178e9617613ae8277ed4328fa3f"
}
},
"spamProtection": {
"commandThreshold": 8,
"timeWindow": 10,
"banDuration": 24,
"notes": "Auto-ban threads when users spam commands."
},
"autoRestart": {
"time": null
},
"autoUptime": {
"enable": true,
"timeInterval": 180,
"url": ""
},
"autoLoadScripts": {
"enable": false,
"ignoreCmds": "",
"ignoreEvents": ""
},
"autoRefreshFbstate": true,
"autoReloginWhenChangeAccount": false,
"autoRestartWhenListenMqttError": false,
"restartListenMqtt": {
"enable": false,
"timeRestart": 3600000,
"delayAfterStopListening": 2000,
"logNoti": true
},
"notiWhenListenMqttError": {
"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": {
"mode": "standard",
"disableAll": false,
"showRole": true,
"showDirectMessage": true,
"maxBodyLength": 250,
"message": true,
"command": true,
"message_reply": true,
"message_reaction": true,
"message_unsend": true,
"event": true,
"read_receipt": true,
"typ": false,
"presence": false
},
"typingIndicator": {
"enable": false,
"duration": 0
},
"customFeatures": {
"unsendOnReaction": {
"enable": true,
"reactions": [
"😠",
"😡",
"👎"
],
"notes": "when a bot admin (role 2) reacts with one of the reactions below on a message sent by the bot, the bot will unsend that message."
},
"reactMirror": {
"enable": false,
"notes": "when a bot admin (role 2) reacts with any emoji on someone else's message, the bot mirrors the same emoji onto that message."
},
"noPrefix": {
"enable": true,
"notes": "allow using commands without a prefix for admins. Normal messages are never treated as commands unless first word matches a command name."
},
"commandSuggestion": {
"enable": true,
"notes": "when a prefixed command is not found, reply with the closest command name."
}
},
"selfListen": true,
"optionsFca": {
"fcaEngine": "floppa-native",
"online": true,
"emitReady": true,
"selfListen": true,
"selfListenEvent": true,
"listenEvents": true,
"listenTyping": false,
"updatePresence": true,
"autoMarkDelivery": true,
"autoMarkRead": true,
"autoReconnect": true,
"forceLogin": false,
"simulateTyping": false,
"randomUserAgent": false,
"persona": "desktop",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36",
"stealthMode": true,
"preferMqttSend": false,
"maxConcurrentRequests": 10,
"maxRequestsPerMinute": 150,
"requestCooldownMs": 0,
"errorCacheTtlMs": 5000
}
}