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

Function calculateRemainingDailyAllowance

subinfo/subinfo.ts:118–121  ·  view source on GitHub ↗
(remain: number, days: number)

Source from the content-addressed store, hash-verified

116
117// 获取流量进度提示 (仅用于详细模式)
118function getSpeedEmoji(percent: number): string {
119 if (percent < 30) return "🟢 良好";
120 if (percent < 70) return "🟡 正常";
121 if (percent < 90) return "🟠 偏高";
122 return "🔴 警告";
123}
124

Callers 1

handleSubinfoMethod · 0.85

Calls 1

formatSizeFunction · 0.85

Tested by

no test coverage detected