-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdevvit.json
More file actions
43 lines (43 loc) · 1.29 KB
/
Copy pathdevvit.json
File metadata and controls
43 lines (43 loc) · 1.29 KB
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
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "amputatorbot",
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"permissions": {
"reddit": true,
"redis": true,
"http": {
"enable": true,
"domains": ["www.amputatorbot.com"]
}
},
"settings": {
"subreddit": {
"autoReply": {
"type": "boolean",
"label": "Reply to AMP links",
"helpText": "When enabled, AmputatorBot replies to comments and posts containing AMP URLs with the canonical link. Turn off to silence the bot in this subreddit.",
"defaultValue": true
},
"customFooter": {
"type": "string",
"label": "Custom footer",
"helpText": "Optional. A short markdown snippet appended to the bot's reply footer (e.g. a link to your subreddit's modmail). Renders inside the superscript group as ` | <your text>`.",
"placeholder": "[Modmail us](https://reddit.com/r/YourSub)"
}
}
},
"triggers": {
"onCommentSubmit": "/internal/triggers/comment-submit",
"onPostSubmit": "/internal/triggers/post-submit",
"onMentionInCommentCreate": "/internal/triggers/mention"
},
"marketingAssets": {
"icon": "assets/icon.png"
},
"dev": {
"subreddit": "amputatorbot_app_dev"
}
}