adb-plugin-moderation 1.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.json +74 -63
package/package.json
CHANGED
package/plugin.json
CHANGED
|
@@ -1,65 +1,76 @@
|
|
|
1
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
|
-
|
|
2
|
+
"name": "adb-plugin-moderation",
|
|
3
|
+
"displayName": "Basic Moderation",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"description": "Core moderation commands: ban, kick, timeout, warn, purge, tickets, and case logging.",
|
|
6
|
+
"author": "DeadIndian",
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"requiresRestart": true,
|
|
9
|
+
"isolation": false,
|
|
10
|
+
"manifestVersion": 2,
|
|
11
|
+
"process": {
|
|
12
|
+
"model": "persistent",
|
|
13
|
+
"maxExecutionMs": 15000,
|
|
14
|
+
"memoryMb": 256,
|
|
15
|
+
"persistentReason": "Runs un-isolated (system:raw-client) for bulk message purge, channel lock/slowmode, ticket channel creation, and live guild/member lookups — direct discord.js operations the sandboxed RPC surface cannot express."
|
|
16
|
+
},
|
|
17
|
+
"capabilities": {
|
|
18
|
+
"system": ["raw-client"],
|
|
19
|
+
"storage": ["own-collection"],
|
|
20
|
+
"discord": [
|
|
21
|
+
"BanMembers",
|
|
22
|
+
"KickMembers",
|
|
23
|
+
"ModerateMembers",
|
|
24
|
+
"ManageMessages",
|
|
25
|
+
"ManageChannels",
|
|
26
|
+
"SendMessages",
|
|
27
|
+
"GuildInfo"
|
|
28
|
+
],
|
|
29
|
+
"hooks": ["subscribe"]
|
|
30
|
+
},
|
|
31
|
+
"permissions": {
|
|
32
|
+
"system": ["raw-client"],
|
|
33
|
+
"storage": ["own-collection"],
|
|
34
|
+
"discord": [
|
|
35
|
+
"BanMembers",
|
|
36
|
+
"KickMembers",
|
|
37
|
+
"ModerateMembers",
|
|
38
|
+
"ManageMessages",
|
|
39
|
+
"ManageChannels",
|
|
40
|
+
"SendMessages",
|
|
41
|
+
"GuildInfo"
|
|
42
|
+
],
|
|
43
|
+
"hooks": ["subscribe"],
|
|
44
|
+
"network": { "outbound": [] },
|
|
45
|
+
"filesystem": { "read": [], "write": [] },
|
|
46
|
+
"childProcess": false,
|
|
47
|
+
"nativeAddons": false
|
|
48
|
+
},
|
|
49
|
+
"declaredDependencies": [],
|
|
50
|
+
"discordPermissions": [
|
|
51
|
+
"BanMembers",
|
|
52
|
+
"KickMembers",
|
|
53
|
+
"ModerateMembers",
|
|
54
|
+
"ManageMessages",
|
|
55
|
+
"ManageChannels"
|
|
56
|
+
],
|
|
57
|
+
"configSchema": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"log_channel_id": { "type": "string", "default": null },
|
|
61
|
+
"ticket_category_id": { "type": "string", "default": null },
|
|
62
|
+
"ticket_support_role_id": { "type": "string", "default": null },
|
|
63
|
+
"ticket_log_channel_id": { "type": "string", "default": null },
|
|
64
|
+
"warn_thresholds": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"default": {
|
|
67
|
+
"3": { "action": "timeout", "duration": "1h" },
|
|
68
|
+
"5": { "action": "timeout", "duration": "24h" },
|
|
69
|
+
"7": { "action": "kick" },
|
|
70
|
+
"10": { "action": "ban" }
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"dm_on_action": { "type": "boolean", "default": true }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
65
76
|
}
|