Repository navigation
Expand file tree
/
Copy pathdevvit.json
More file actions
129 lines (127 loc) · 4.25 KB
/
Copy pathdevvit.json
File metadata and controls
129 lines (127 loc) · 4.25 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"$schema": "https://developers.reddit.com/schema/config-file.v1.json",
"name": "community-voices",
"permissions": {
"reddit": true,
"redis": true
},
"server": {
"dir": "dist/server",
"entry": "index.cjs"
},
"triggers": {
"onAppInstall": "/internal/triggers/on-app-install",
"onAppUpgrade": "/internal/triggers/on-app-upgrade",
"onPostSubmit": "/internal/triggers/on-post-submit",
"onCommentCreate": "/internal/triggers/on-comment-create"
},
"scheduler": {
"tasks": {
"upgrade_notifier_job": {
"endpoint": "/internal/scheduler/upgrade-notifier-job"
}
}
},
"marketingAssets": {
"icon": "assets/icon.png"
},
"settings": {
"subreddit": {
"vip-identification": {
"type": "group",
"label": "VIP Identification",
"helpText": "Configure how Community Voices identifies VIP users.",
"fields": {
"vipFlairs": {
"type": "string",
"label": "VIP User Flairs",
"helpText": "Comma-separated list of flairs that trigger the bot (e.g., Pilot, Developer, Admin)"
},
"vipUsernames": {
"type": "string",
"label": "VIP Usernames",
"helpText": "Comma-separated list of specific usernames to treat as VIPs (no u/ needed)"
},
"vipDescriptor": {
"type": "string",
"label": "VIP Descriptor Text",
"helpText": "Define how VIP users are described in your community. This is used in the header of pinned summary comments: 'There are X comments from [Descriptor] in this post'",
"defaultValue": "VIP users"
}
}
},
"vip-comments": {
"type": "group",
"label": "VIP Comments",
"helpText": "Configure how Community Voices handles comments made by VIP users.",
"fields": {
"pinnedSummary": {
"type": "boolean",
"label": "Pinned Summary Comment",
"helpText": "Enable to add a pinned comment summarizing all comments made by VIP users.",
"defaultValue": true
},
"includeCommentReplies": {
"type": "boolean",
"label": "Include Comment Replies?",
"helpText": "Enable to include replies to other comments when counting comments made by VIP users.",
"defaultValue": false
},
"setFlairAfterCommenting": {
"type": "boolean",
"label": "Update Post Flair on Comments?",
"helpText": "Enable to automatically update the post flair after a VIP user comments.",
"defaultValue": false
},
"vipCommentPostFlairText": {
"type": "string",
"label": "Post Flair to Use",
"helpText": "Enter the post flair to apply after a VIP user comments."
},
"ignoreCommand": {
"type": "string",
"label": "Ignore Command",
"helpText": "If a VIP starts their comment with this command, the bot will skip it.",
"defaultValue": "!ignore"
},
"ignoredPostFlairs": {
"type": "string",
"label": "Ignored Post Flairs",
"helpText": "Comma-separated list of post flairs to exclude. Exact, case-insensitive matches are required."
}
}
},
"vip-posts": {
"type": "group",
"label": "VIP Posts",
"helpText": "Configure how Community Voices handles posts submitted by VIP users.",
"fields": {
"setFlairAfterPosting": {
"type": "boolean",
"label": "Update Post Flair on VIP Posts?",
"helpText": "Enable to automatically update the post flair after a VIP user submits a post.",
"defaultValue": false
},
"vipPostFlairText": {
"type": "string",
"label": "Post Flair to Use",
"helpText": "Enter the post flair to apply after a VIP user submits a post."
},
"autoStickyVipPosts": {
"type": "select",
"label": "Auto-Sticky Posts Made by VIP Users?",
"options": [
{ "label": "Do Not Sticky", "value": "none" },
{ "label": "Slot 1", "value": "1" },
{ "label": "Slot 2", "value": "2" }
],
"defaultValue": "none"
}
}
}
}
},
"dev": {
"subreddit": "NovrixLabs"
}
}