-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.json
More file actions
103 lines (103 loc) · 2.35 KB
/
Copy pathconfig.json
File metadata and controls
103 lines (103 loc) · 2.35 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
{
"telegramTokens": [
"YOUR_TELEGRAM_BOT_TOKEN_1",
"YOUR_TELEGRAM_BOT_TOKEN_2"
],
"tokenRotation": {
"autoRotateOnRateLimit": true,
"retryAttempts": 3,
"cooldownMs": 60000
},
"language": "en",
"notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)",
"nickNameBot": "GrammChatBot",
"prefix": "/",
"noPrefix": true,
"noPrefixNotes": "When true, Bot Admins (role 2) and Developers (role 4) can run commands without the prefix",
"adminOnly": {
"enable": false,
"ignoreCommand": []
},
"adminBot": [
"5836861332"
],
"premiumUsers": [
"5836861332"
],
"devUsers": [
"5836861332"
],
"notes_premiumUsers": "List of Telegram User IDs with premium access (role 3)",
"notes_devUsers": "List of Telegram Developer IDs with full access (role 4 - required for /shell and /eval)",
"whiteListMode": {
"enable": false,
"whiteListIds": [
"5836861332"
]
},
"whiteListModeThread": {
"enable": false,
"whiteListThreadIds": []
},
"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": false,
"channelName": "uptime",
"verifyToken": "8126831f37f9cb8d6ba35489bac1ac619b114178e9617613ae8277ed4328fa3f"
}
},
"spamProtection": {
"commandThreshold": 8,
"timeWindow": 10,
"banDuration": 24
},
"autoCleanup": {
"enable": true,
"cronExpression": "*/30 * * * *",
"targetDirs": [
"./cache",
"./scripts/cmds/cache",
"./scripts/events/cache",
"./tmp"
]
},
"autoRestart": {
"time": null
},
"autoUptime": {
"enable": true,
"timeInterval": 180,
"url": ""
},
"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
}
}