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

Function pickStableText

admin_board/admin_board.ts:664–670  ·  view source on GitHub ↗
(seed: string, options: string[])

Source from the content-addressed store, hash-verified

662 index: number,
663 total: number,
664): string {
665 const avg = stat.sortAvgPerDay;
666 const isFirst = index === 0;
667 const isTopThree = index < 3;
668 const isBottom = index === total - 1;
669 const isTopHalf = index < Math.ceil(total / 2);
670 const hasLockedSeat = stat.lockedSeat;
671 const hasNoMessages = avg <= 0;
672 const recentDays =
673 stat.sortLastMessageTs > 0

Callers 2

buildSortCommentFunction · 0.85
buildTailCommentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected