MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / checkCache

Function checkCache

clean_member/clean_member.ts:520–526  ·  view source on GitHub ↗
(chatId: number, mode: string, day: number, statusCallback?: (message: string, forceUpdate?: boolean) => Promise<void>)

Source from the content-addressed store, hash-verified

518 limit: 200,
519 hash: 0 as any,
520 }));
521 if ("users" in result) {
522 const admins = result.users as Api.User[];
523 for (const admin of admins) {
524 adminIds.add(Number(admin.id));
525 }
526 }
527 } catch (error) {
528 console.error("Failed to get admins:", error);
529 }

Callers 1

clean_memberFunction · 0.85

Calls 2

getFromCacheFunction · 0.85
statusCallbackFunction · 0.85

Tested by

no test coverage detected