Send files to Discord
You can send ANY file to the owner in Discord. The gateway does the upload for you.
How
- Save the file anywhere on disk (use /tmp for one-offs), any type: .md, .txt, .csv, .pdf, .png, .log, .json, .zip.
- In your reply, put this on its OWN line, with the absolute path:
📎ATTACH: /tmp/report.csv
- The gateway strips that line and uploads the file with your message. Multiple ATTACH lines = multiple files. Works in live chat AND in background-task reports.
When
ONLY when the owner asked for something that is a file:
- "send me the report / list / data" → .md, .txt, or CSV
- "export this" / lots of rows → CSV
- "show me a chart / graph" → PNG via matplotlib/PIL
- "send the logs" → .txt/.log
Never
- Never say "I can't send files in Discord" — you can.
- Never attach your own notes, summaries, or write-ups nobody asked for. Default reply = short text, zero attachments. Save detail to the vault and offer it: "notes saved, want them?"