forked from gesteves/trebekbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
45 lines (45 loc) · 1.49 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
{
"name": "trebekbot",
"description": "A Jeopardy! bot for Slack.",
"keywords": [
"slack",
"bot",
"jeopardy"
],
"repository": "https://github.com/gesteves/trebekbot",
"addons": [
"rediscloud",
"papertrail"
],
"success_url": "https://github.com/gesteves/trebekbot#usage",
"env": {
"OUTGOING_WEBHOOK_TOKEN": {
"description": "The token of the Slack outgoing webhook you'll use for this. Set it up at https://slack.com/services/new/outgoing-webhook. You'll have to point it to this app's URL once it's deployed.",
"required": true
},
"API_TOKEN": {
"description": "The Slack API key. Get it at https://api.slack.com/web",
"required": true
},
"BOT_USERNAME": {
"description": "The trigger word you set for the outgoing webhook.",
"required": true,
"value": "trebekbot"
},
"SIMILARITY_THRESHOLD": {
"description": "From 0 to 1, how similar user answers need to be to the actual answer to be accepted. 1 means exact match; lower values give users some margin for error (e.g typos) but could cause false positives.",
"required": true,
"value": "0.5"
},
"SECONDS_TO_ANSWER": {
"description": "Time, in seconds, users have to answer each round.",
"required": true,
"value": "30"
},
"CHANNEL_BLACKLIST": {
"description": "Comma-separated list of channel names in which this bot is not allowed to respond",
"required": false,
"value": "general"
}
}
}