-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
54 lines (54 loc) · 1.89 KB
/
Copy pathplugin.json
File metadata and controls
54 lines (54 loc) · 1.89 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
{
"name": "adb-plugin-confessions",
"displayName": "Anonymous Confessions",
"version": "1.2.0",
"description": "Members submit anonymous confessions via webhook to a configured channel. Includes moderation, cooldowns, and reporting.",
"author": "DeadIndian",
"main": "index.js",
"requiresRestart": true,
"isolation": false,
"manifestVersion": 2,
"process": {
"model": "persistent",
"maxExecutionMs": 10000,
"memoryMb": 256,
"persistentReason": "Runs un-isolated (system:raw-client) to create and fetch channel webhooks for anonymous posting — webhook management is not part of the sandboxed RPC surface."
},
"capabilities": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": ["ManageWebhooks", "SendMessages"]
},
"permissions": {
"system": ["raw-client"],
"storage": ["own-collection"],
"discord": ["ManageWebhooks", "SendMessages"],
"hooks": ["subscribe"],
"network": { "outbound": [] },
"filesystem": { "read": [], "write": [] },
"childProcess": false,
"nativeAddons": false
},
"declaredDependencies": [],
"engines": {
"core": ">=2.0.0",
"plugins": { "administration": ">=2.0.0" }
},
"settings": {
"commandPermissions": true,
"schema": [
{ "key": "channel", "type": "channel", "label": "Confessions channel" },
{ "key": "cooldown", "type": "number", "label": "Cooldown (seconds)" },
{ "key": "requireApproval", "type": "boolean", "label": "Require mod approval" }
]
},
"discordPermissions": ["ManageWebhooks", "SendMessages"],
"configSchema": {
"type": "object",
"properties": {
"channel": { "type": "string", "description": "Channel ID where confessions appear" },
"cooldown": { "type": "number", "default": 60, "minimum": 0, "maximum": 3600, "description": "Cooldown in seconds between confessions" },
"requireApproval": { "type": "boolean", "default": false, "description": "Require mod approval before posting" }
}
}
}