Discord attachment (png/jpg/pdf/...) │ download to <dataDir>/attachments/<messageId>/ ▼ file in the prompt ──▶ OpenCode session ──▶ model reads it
1kimaki upload-to-discord screenshot-1.png screenshot-2.png
--session <session-id> (a session ID, thread ID or thread URL).