@gloaming/poke 0.0.0-stage → 0.2.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/LICENSE +21 -0
- package/README.md +136 -2
- package/daemon.js +175 -0
- package/drizzle/20261123093322_init/migration.sql +38 -0
- package/drizzle/20261123093322_init/snapshot.json +330 -0
- package/drizzle/20261123101024_poll_cursors_and_secrets/migration.sql +8 -0
- package/drizzle/20261123101024_poll_cursors_and_secrets/snapshot.json +382 -0
- package/drizzle/20261123124858_owner_trust/migration.sql +5 -0
- package/drizzle/20261123124858_owner_trust/snapshot.json +382 -0
- package/drizzle/20261123130247_looks/migration.sql +7 -0
- package/drizzle/20261123130247_looks/snapshot.json +413 -0
- package/drizzle/20261123133921_look_states/migration.sql +4 -0
- package/drizzle/20261123133921_look_states/snapshot.json +444 -0
- package/drizzle/20261123140834_pattern_states/migration.sql +7 -0
- package/drizzle/20261123140834_pattern_states/snapshot.json +495 -0
- package/drizzle/20261123141452_source_cursors/migration.sql +4 -0
- package/drizzle/20261123141452_source_cursors/snapshot.json +526 -0
- package/drizzle/20261124082939_replies/migration.sql +7 -0
- package/drizzle/20261124082939_replies/snapshot.json +581 -0
- package/package.json +24 -4
- package/poke-skill.md +104 -0
- package/poke.js +301 -0
- package/presets/bluesky.json +22 -0
- package/presets/docker-events.json +18 -0
- package/presets/github-releases.json +22 -0
- package/presets/gmail.json +27 -0
- package/presets/home-assistant.json +23 -0
- package/presets/journald-over-ssh.json +27 -0
- package/presets/kubectl-watch.json +22 -0
- package/presets/log-file.json +24 -0
- package/presets/mastodon.json +27 -0
- package/presets/modbus.json +40 -0
- package/presets/mqtt.json +28 -0
- package/presets/ntfy.json +28 -0
- package/presets/onvif.json +23 -0
- package/presets/serial.json +31 -0
- package/presets/status-page.json +18 -0
- package/presets/syslog.json +24 -0
- package/types/discord/main.js +35 -0
- package/types/discord/type.json +47 -0
- package/types/imap/main.js +134 -0
- package/types/imap/type.json +54 -0
- package/types/presence/main.js +35 -0
- package/types/presence/type.json +27 -0
- package/types/slack/main.js +35 -0
- package/types/slack/type.json +52 -0
- package/types/system/run.sh +19 -0
- package/types/system/system-events.swift +153 -0
- package/types/system/type.json +18 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "discord",
|
|
3
|
+
"description": "Messages in the Discord servers a bot is in and its direct messages, over the gateway; read-only: poke never posts or reacts",
|
|
4
|
+
"mode": "told",
|
|
5
|
+
"command": "bun main.js",
|
|
6
|
+
"ownerTrustable": false,
|
|
7
|
+
"options": {
|
|
8
|
+
"properties": {
|
|
9
|
+
"token": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"secret": true,
|
|
12
|
+
"description": "The bot's token from the Developer Portal, with Message Content Intent on: ${NAME} of a poke secret"
|
|
13
|
+
},
|
|
14
|
+
"channels": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Only these channels, by id, comma-separated"
|
|
17
|
+
},
|
|
18
|
+
"guilds": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Only these servers, by id, comma-separated"
|
|
21
|
+
},
|
|
22
|
+
"mentions": {
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"description": "In servers, only messages that mention the bot"
|
|
25
|
+
},
|
|
26
|
+
"keywords": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "In servers, only messages with one of these words, comma-separated; capitals do not matter"
|
|
29
|
+
},
|
|
30
|
+
"dms": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Direct messages to the bot count (default true)"
|
|
33
|
+
},
|
|
34
|
+
"bots": {
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"description": "Also what other bots and webhooks write (default false)"
|
|
37
|
+
},
|
|
38
|
+
"api_base": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "A Discord-compatible API over https or on this machine (default https://discord.com/api/v10)"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"token"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|