forked from SwapnilKumbhar/cowin-alerts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.yaml
45 lines (43 loc) · 1.18 KB
/
config.example.yaml
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
core:
auth_token: "<YOUR_TOKEN_HERE>" # We miiiight not need this.
api:
base: "https://cdn-api.co-vin.in" # Production server
endpoints:
calendarByDistrict: "/api/v2/appointment/sessions/calendarByDistrict"
timeout: 20 # How often should we query
discord:
errors:
hook: "https://discord.com/api/webhooks/..."
notify:
- "<@&456456546456456456>"
- "<@&123123123123123123>"
districts: # One block per city, city name is the key
mumbai:
id: 395
discord:
role_id: "<@&838492270801241244>" # Discord role ID
webhooks: # Hooks for different channels
district: "https://discord.com/api/webhooks/..."
pincode: ""
filters: # Filters by entire district, exact and partial pincodes
district: true
pincode:
enabled: true
starts_with:
- 400
exact:
- 400056
- 400058
pune:
id: 363
discord:
role_id: "<@&83861142491123124>"
webhooks:
district: "https://discord.com/api/webhooks/..."
pincode: ""
filters:
district: true
pincode:
enabled: false
starts_with:
exact: