-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
74 lines (74 loc) · 1.8 KB
/
Copy pathplugin.json
File metadata and controls
74 lines (74 loc) · 1.8 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
{
"name": "adb-plugin-todo",
"displayName": "To-Do List",
"version": "1.3.0",
"description": "Per-user to-do lists with add, list, complete, edit, and clear commands.",
"author": "DeadIndian",
"main": "index.js",
"requiresRestart": false,
"isolation": true,
"manifestVersion": 2,
"process": {
"model": "pooled",
"maxExecutionMs": 5000,
"memoryMb": 128,
"persistentReason": null
},
"capabilities": {
"storage": ["own-collection"],
"discord": ["SendMessages", "EmbedLinks"]
},
"permissions": {
"storage": ["own-collection"],
"discord": ["SendMessages", "EmbedLinks"],
"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": "maxItems", "type": "number", "label": "Max todo items per user" }
]
},
"discordPermissions": ["SendMessages", "EmbedLinks"],
"webUi": {
"memberPages": [
{
"path": "/me/todos",
"label": "My To-Do",
"icon": "ListChecks",
"source": { "model": "todo", "scope": "member", "sort": { "done": 1, "createdAt": -1 }, "limit": 200 },
"view": {
"type": "list",
"title": "content",
"badge": "done",
"empty": "You have no to-do items in this server.",
"actions": [
{ "id": "complete", "label": "Complete", "op": "set", "field": "done", "value": true },
{ "id": "delete", "label": "Delete", "op": "delete" }
]
}
}
]
},
"configSchema": {
"type": "object",
"properties": {
"maxItems": {
"type": "number",
"default": 50,
"minimum": 1,
"maximum": 500,
"description": "Max to-do items per user per server"
}
}
}
}