-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
68 lines (68 loc) · 1.85 KB
/
Copy pathplugin.json
File metadata and controls
68 lines (68 loc) · 1.85 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
{
"name": "adb-plugin-autorole",
"displayName": "Autorole Plugin",
"version": "1.2.0",
"description": "Automatic role assignment (join, bot, level, time-based delayed and remove-after) for Advanced Discord Bot.",
"author": "DeadIndian",
"license": "AGPL-3.0-only",
"main": "index.js",
"requiresRestart": false,
"manifestVersion": 2,
"process": {
"model": "pooled",
"maxExecutionMs": 5000,
"memoryMb": 128,
"persistentReason": null
},
"capabilities": {
"storage": ["own-collection"],
"discord": ["SendMessages", "ManageRoles", "GuildInfo"],
"hooks": ["subscribe"]
},
"permissions": {
"storage": ["own-collection"],
"discord": ["SendMessages", "ManageRoles", "GuildInfo"],
"hooks": ["subscribe"],
"network": { "outbound": [] },
"filesystem": { "read": [], "write": [] },
"childProcess": false,
"nativeAddons": false
},
"declaredDependencies": [],
"discordPermissions": ["SendMessages", "ManageRoles"],
"engines": {
"core": ">=2.0.0",
"plugins": { "administration": ">=2.0.0" }
},
"settings": {
"commandPermissions": true,
"schema": [
{ "key": "enabled", "type": "boolean", "label": "Enable autorole", "default": false }
]
},
"webUi": {
"memberPages": [
{
"path": "/me/pending-roles",
"label": "My Pending Roles",
"icon": "Hourglass",
"source": { "model": "pendingRoleAction", "scope": "member", "sort": { "executeAt": 1 }, "limit": 50 },
"view": {
"type": "table",
"empty": "You have no pending role changes in this server.",
"columns": [
{ "field": "roleId", "label": "Role" },
{ "field": "action", "label": "Change" },
{ "field": "executeAt", "label": "Takes Effect" }
]
}
}
]
},
"configSchema": {
"type": "object",
"properties": {
"enabled": { "type": "boolean", "default": false, "description": "Whether autorole is enabled for this server" }
}
}
}