Add message counting and date-bounded scrapes
This commit is contained in:
@@ -96,6 +96,16 @@ export interface ScrapeMeta {
|
||||
finishedAt?: string | null;
|
||||
/** Absolute destination for downloaded files. Null means the local `media/` folder. */
|
||||
downloadDir?: string | null;
|
||||
/** Lower message-ID boundary (exclusive), derived from the from-date. */
|
||||
afterId?: string | null;
|
||||
/** Upper message-ID boundary; the walk starts just below it. */
|
||||
beforeId?: string | null;
|
||||
/** From-date as ISO, for display in history. */
|
||||
fromDate?: string | null;
|
||||
/** To-date as ISO, for display in history. */
|
||||
toDate?: string | null;
|
||||
/** Discord search total for the range, when known (slopbot only). */
|
||||
estimatedMessages?: number | null;
|
||||
}
|
||||
|
||||
export function emptyMediaCounts(): Record<MediaKind, number> {
|
||||
|
||||
Reference in New Issue
Block a user