-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstances.json.example
More file actions
35 lines (33 loc) · 1023 Bytes
/
Copy pathinstances.json.example
File metadata and controls
35 lines (33 loc) · 1023 Bytes
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
{
// Shared defaults applied to ALL instances (layered on top of .env).
// Any .env variable can go here.
"defaults": {
"ALLOWED_USER_IDS": "123456789",
"DANGEROUS_MODE": "false",
"STREAMING_MODE": "streaming"
},
"instances": [
// List of tokens → auto-template: spawns 3 bots named "TeleCoder 1", "TeleCoder 2", "TeleCoder 3"
// Use {n} for sequential numbering, {N} for zero-padded (01, 02, ...).
{
"name": "TeleCoder {n}",
"tokens": [
"110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
"220201543:BBIdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
"330201543:CCJdqTcvCH1vGWJxfSeofSAs0K5PALDsaw"
],
"overrides": {
"WORKSPACE_DIR": "/home/user/projects"
}
},
// Single token → individual instance with custom settings
{
"name": "Admin Bot",
"token": "440201543:DDKdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
"overrides": {
"ALLOWED_USER_IDS": "987654321",
"DANGEROUS_MODE": "true"
}
}
]
}