-
Notifications
You must be signed in to change notification settings - Fork 11
/
app.json
53 lines (53 loc) · 1.71 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
{
"name": "Snarkov",
"description": "A Sinatra-based Markov bot for Slack.",
"keywords": [
"slack",
"bot",
"markov"
],
"repository": "https://github.com/gesteves/snarkov",
"addons": [
"heroku-redis",
"memcachedcloud",
"scheduler:standard"
],
"success_url": "https://github.com/gesteves/snarkov#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. Make sure you don't set up a keyword. 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
},
"RESPONSE_CHANCE": {
"description": "The probability that the bot will reply whenever someone speaks in the Slack channel.",
"required": true,
"value": "0.01"
},
"MAX_WORDS": {
"description": "The maximum length of the bot's replies.",
"required": true,
"value": "100"
},
"REPLY_REGEX": {
"description": "The bot will always reply to messages matching this regex",
"required": false
},
"IGNORE_REGEX": {
"description": "The bot will not store or reply to messages matching this regex",
"required": false
},
"MUTE_REGEX": {
"description": "The bot will mute if this message is received",
"required": true,
"value": "^(sn|m)arkov mute"
},
"SLACK_USER": {
"description": "If you want to only store messages from a certain user, put their Slack username here. If blank, it stores everyone's messages.",
"required": false
}
}
}