@rackbops/plugin-tracker 0.0.0 → 0.3.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/README.md +138 -0
- package/dist/plugin.js +5475 -0
- package/package.json +42 -4
package/package.json
CHANGED
|
@@ -1,11 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rackbops/plugin-tracker",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "The task tracker for Rackbops Clerk: reminders by slash command, delivered by DM with done, snooze and reply buttons, on docket's SQLite store (/allow, /register, /remind, /tasks, /task, /settings, /web), with a web area for your tasks, history and settings",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/plugin.js",
|
|
7
|
+
"files": ["dist"],
|
|
6
8
|
"repository": {
|
|
7
9
|
"type": "git",
|
|
8
10
|
"url": "git+https://github.com/Rackbops/rackbops-bot-plugins.git",
|
|
9
11
|
"directory": "plugins/tracker"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@rackbops/docket-core": "^0.3.0",
|
|
15
|
+
"@rackbops/docket-types": "^0.3.0",
|
|
16
|
+
"@rackbops/styles": "^0.2.42"
|
|
17
|
+
},
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"discord.js": "^14.27.0"
|
|
20
|
+
},
|
|
21
|
+
"botPlugin": {
|
|
22
|
+
"hostApiVersion": 1,
|
|
23
|
+
"intents": [],
|
|
24
|
+
"commands": ["allow", "register", "remind", "tasks", "task", "settings", "web"],
|
|
25
|
+
"env": [
|
|
26
|
+
{
|
|
27
|
+
"key": "TRACKER_ADMIN_DISCORD_IDS",
|
|
28
|
+
"format": "^ *[0-9]{17,20}( *, *[0-9]{17,20})* *$",
|
|
29
|
+
"required": false,
|
|
30
|
+
"secret": false,
|
|
31
|
+
"description": "Comma-separated Discord user ids (spaces around commas allowed) made tracker admins at start (the first admin). Only ever grants: removing an id here does not revoke it. Unset = no admin is seeded."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "TRACKER_GUILD_ID",
|
|
35
|
+
"format": "^[0-9]{17,20}$",
|
|
36
|
+
"required": false,
|
|
37
|
+
"secret": false,
|
|
38
|
+
"description": "The Discord server id whose members may use the tracker (the membership gate), checked on every command and button, in DMs too. Unset = no membership gate: only the admission list (/allow) applies."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"key": "TRACKER_WEB_URL",
|
|
42
|
+
"format": "^https://[A-Za-z0-9.-]+(:[0-9]{1,5})?/?$",
|
|
43
|
+
"required": false,
|
|
44
|
+
"secret": false,
|
|
45
|
+
"description": "The https origin the bot's HTTP is reached at through its tunnel, e.g. https://clerk.example.com (no path). /web links to <this>/tracker/login, and a form post from any other origin is refused. Unset = no web area: /web says so and its pages answer 404."
|
|
46
|
+
}
|
|
47
|
+
]
|
|
10
48
|
}
|
|
11
|
-
}
|
|
49
|
+
}
|