-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
30 lines (30 loc) · 831 Bytes
/
config.json
File metadata and controls
30 lines (30 loc) · 831 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
{
"slack_bot_token": "xoxb-your-mock-slack-bot-token",
"source_channel": "C01MOCKCHANNEL",
"rules": [
{
"conditions": [
{"keyword": "example1"}
],
"target_channels": ["C02MOCKCHANNEL1"]
},
{
"conditions": [
{"keyword": "example2"}
],
"target_channels": ["C02MOCKCHANNEL2"]
},
{
"regex": "\\b(mock1|mock2|mock3|mockcorp|examplecorp|samplecorp)\\b",
"target_channels": ["C03MOCKCHANNEL"]
},
{
"regex": "(mockcountry)",
"target_channels": ["C04MOCKCHANNEL"]
},
{
"regex": "(mockregion)",
"target_channels": ["C05MOCKCHANNEL"]
}
]
}