Repository navigation
Expand file tree
/
Copy pathconfig-dist.json
More file actions
103 lines (103 loc) · 2.13 KB
/
Copy pathconfig-dist.json
File metadata and controls
103 lines (103 loc) · 2.13 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
{
"channels": [
"#example"
],
"server": "irc.example.net",
"serverPassword": "",
"userName": "examplebot",
"realName": "Example IRC Bot",
"version": "",
"port": 6697,
"debug": false,
"showErrors": false,
"autoRejoin": true,
"autoConnect": false,
"secure": true,
"selfSigned": false,
"certExpired": false,
"floodProtection": true,
"floodProtectionDelay": 1000,
"sasl": false,
"commandPrefix": "#",
"bridges": {
"discord": {
"enabled": false,
"ircNicks": [
"ExampleBridgeUser"
],
"pattern": "^<([^>]+)>\\s+(.+)$",
"auth": {
"enabled": false,
"lookupUrl": "https://example.com/resolve-user-id",
"method": "POST",
"timeoutMs": 3000,
"headerName": "x-example-secret",
"headerValue": "change-me",
"cacheTtlMs": 300000,
"failureCacheTtlMs": 30000,
"transportIdentity": {
"enabled": true,
"allowedNicks": [
"ExampleBridgeUser"
],
"allowedAccounts": [
"ExampleBridgeUser"
],
"allowWhoisFallback": true,
"whoisTimeoutMs": 2000
}
}
}
},
"http": {
"enabled": true,
"host": "0.0.0.0",
"port": 8080,
"baseDomain": "http://localhost:8080"
},
"dynamicCommands": {
"webWrites": false
},
"integrations": {
"github": {
"token": ""
},
"youtube": {
"apiKey": ""
}
},
"rpg": {
"story": "crossroads",
"activity": {
"enabled": true,
"xp": 0.25,
"cooldownSeconds": 60,
"minLength": 3
}
},
"luaSandbox": {
"timeoutMs": 3500,
"maxMessageLength": 420,
"maxOutputLength": 2000
},
"jsSandbox": {
"timeoutMs": 1000,
"maxMessageLength": 420,
"maxOutputLength": 2000,
"maxScriptLength": 8000
},
"auth": {
"sasl": {
"enabled": false,
"account": "",
"password": "",
"mechanism": "PLAIN",
"disconnectOnFail": true
},
"seedWhoisOnJoin": false,
"whoisOnJoin": false,
"whoisQueueDelayMs": 2500,
"whoisTimeoutMs": 2500,
"maxSeedWhoisPerChannel": 5
}
}