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

Function htmlEscape

aban/aban.ts:77–81  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

75目标:回复消息 / <code>@用户名</code> / <code>用户ID</code>
76<code>用户ID</code> 不要求对方在当前群;会从会话缓存与管理群解析`;
77
78// ==================== 工具函数 ====================
79// 解析时间字符串
80function parseTimeString(timeStr?: string): number {
81 if (!timeStr) return 0; // 无参数返回0(永久)
82
83 const time = timeStr.toLowerCase();
84 const num = parseInt(time) || 0;

Callers 3

handleBasicCommandMethod · 0.70
summarizeReasonsMethod · 0.70
backgroundProcessMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected