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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plugin.json +74 -63
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adb-plugin-moderation",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Core moderation commands for Advanced Discord Bot",
5
5
  "main": "index.js",
6
6
  "files": [
package/plugin.json CHANGED
@@ -1,65 +1,76 @@
1
1
  {
2
- "name": "adb-plugin-moderation",
3
- "displayName": "Basic Moderation",
4
- "version": "1.0.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
- "permissions": [
10
- "db.read",
11
- "db.write",
12
- "commands.register"
13
- ],
14
- "discordPermissions": [
15
- "BanMembers",
16
- "KickMembers",
17
- "ModerateMembers",
18
- "ManageMessages",
19
- "ManageChannels"
20
- ],
21
- "configSchema": {
22
- "type": "object",
23
- "properties": {
24
- "log_channel_id": {
25
- "type": "string",
26
- "default": null
27
- },
28
- "ticket_category_id": {
29
- "type": "string",
30
- "default": null
31
- },
32
- "ticket_support_role_id": {
33
- "type": "string",
34
- "default": null
35
- },
36
- "ticket_log_channel_id": {
37
- "type": "string",
38
- "default": null
39
- },
40
- "warn_thresholds": {
41
- "type": "object",
42
- "default": {
43
- "3": {
44
- "action": "timeout",
45
- "duration": "1h"
46
- },
47
- "5": {
48
- "action": "timeout",
49
- "duration": "24h"
50
- },
51
- "7": {
52
- "action": "kick"
53
- },
54
- "10": {
55
- "action": "ban"
56
- }
57
- }
58
- },
59
- "dm_on_action": {
60
- "type": "boolean",
61
- "default": true
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
  }