sync: auto-sync from HOWARD-HOME at 2026-07-07 07:23:12

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-07-07 07:23:12
This commit is contained in:
2026-07-07 07:23:39 -07:00
parent 0daf06263f
commit ead30520e5
5 changed files with 108 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
---
name: discord-dm
description: "Send a Discord message to an org member DM or team channel via the ClaudeTools bot - copy-paste-friendly delivery of links/commands the terminal would mangle; address people by name (mike/howard/rob/winter). Triggers: DM <person> in discord, send that link to my discord, ping <person>."
description: "Send OR read Discord messages to/from an org member DM or team channel via the ClaudeTools bot - copy-paste-friendly delivery of links/commands the terminal would mangle, and READ replies (coord/repo sync does not carry Discord answers); address people by name (mike/howard/rob/winter). Triggers: DM <person> in discord, send that link to my discord, ping <person>, did <person> reply/answer, read discord replies, check discord DMs."
---
# discord-dm — direct Discord messaging to the org
@@ -27,9 +27,26 @@ DMs** and deliberate channel posts.
```bash
bash .claude/scripts/discord-dm.sh <recipient> "message text"
echo "message text" | bash .claude/scripts/discord-dm.sh <recipient>
bash .claude/scripts/discord-dm.sh read <recipient> [limit] # READ recent messages — SEE replies (default 15)
bash .claude/scripts/discord-dm.sh list # print known users + channels
```
## Reading replies (`read`)
Sends are one-way, but people **answer** — always `read` before assuming silence. The bot
participates in every DM channel it opened, so `GET /channels/<id>/messages` returns full
content (the Message Content privileged intent only gates *gateway* events, not this REST
fetch). Works for users and channels:
```bash
bash .claude/scripts/discord-dm.sh read mike 10 # last 10 in the mike DM
bash .claude/scripts/discord-dm.sh read #dev-alerts # last 15 in #dev-alerts
```
Output is oldest-first; lines from **them** are marked `>>>`, lines from us are indented.
After DMing someone a question, `read` that user to check for their answer — coord/repo sync
does NOT carry Discord replies, so this is the only way to see them.
`<recipient>`:
| Form | Effect |