Commit 5740c2b
feat: capture Discord attachment metadata in inbox messages
Add support for Discord message attachments (screenshots, images, files)
by extracting metadata into InboxMessage.Extra["attachments"]. Each
attachment includes id, url, filename, size, content_type, width, and
height fields.
This enables future support for processing images and files shared via
Discord, such as analyzing screenshots or reading document attachments.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent a60a49f commit 5740c2b
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
144 | 168 | | |
145 | 169 | | |
146 | 170 | | |
| |||
0 commit comments