-
Notifications
You must be signed in to change notification settings - Fork 6
/
app.json
76 lines (76 loc) · 3.04 KB
/
app.json
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
{
"name": "Worldcup slackbot",
"description": "A bot for slack to message about matches of the 2018 FIFA World Cup",
"repository": "https://github.com/nahog/slackbot-russia-2018-world-cup",
"logo": "https://raw.githubusercontent.com/nahog/slackbot-russia-2018-world-cup/master/icon.png",
"keywords": [
"fifa",
"slack",
"slackbot",
"russia",
"node",
"nodejs",
"football-data",
"football",
"soccer"
],
"env": {
"MODULES": {
"description": "The modules to run in each cron scheduled task, i.e. football-data,coperos if you want to run two modules",
"value": "football-data"
},
"SLACK_WEBHOOK": {
"description": "The slack webhook url, the default will not work, you need to get this from slack when creating the webhook",
"value": "https://hooks.slack.com/services/***"
},
"FOOTBALL_DATA_API_TOKEN": {
"description": "The Api token used to get the match data, the default will not work, you need to get this from the Api page",
"value": "***"
},
"HIGHLIGHTED_TEAM": {
"description": "A team to highligh (bold) in the posted message, it should match the team name that comes from the Api",
"value": "Argentina",
"required": false
},
"SHOW_ZONES_JSON": {
"description": "A key-value object that represent the available timezones where the match time will be shown, the key could be anything (preferably a timezone name), the value should be the integer offset hours of the timezone",
"value": "{ \"ART\": \"-3\", \"IST\": \"+1\" }",
"required": false
},
"CRON_SCHEDULE": {
"description": " The cron expression to schedule each Api check. The default is every 15 minutes.",
"value": "*/15 * * * *",
"required": false
},
"LANGUAGE": {
"description": "Language for the translations (en, es)",
"value": "en",
"required": false
},
"SLACK_ENABLED": {
"description": "Enable or disable the post to slack",
"value": "true",
"required": false
},
"SLACK_CHANNEL": {
"description": "The name of the slack channel (this should match slack webhook config) that the bot will post to",
"value": "#worldcup",
"required": false
},
"SLACK_BOT": {
"description": "The name of the bot (this should match slack webhook config) that will make the post",
"value": "Worldcup",
"required": false
},
"LOG_LEVEL": {
"description": "The log level to the console (error, info, debug, silly)",
"value": "info",
"required": false
},
"ENABLE_STATIC_WEB": {
"description": "Enable a static web server that serves logs.",
"value": "true",
"required": false
}
}
}