Add Discord-hosted preview caching (C11)

This commit is contained in:
Fisto
2026-09-16 11:09:51 +02:00
parent b94031d816
commit 2573dd4d63
14 changed files with 242 additions and 12 deletions
+2
View File
@@ -87,6 +87,8 @@ export interface ScrapeMeta {
downloaded?: number;
/** Files that failed after retries; skipped URLs are not counted here. */
downloadErrors?: number;
/** Cached image previews. */
previewed?: number;
}
export function emptyMediaCounts(): Record<MediaKind, number> {