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

Method cleanTraces

trace/trace.ts:451–462  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

449 index++;
450 }
451 } else {
452 response += `└ <i>暂无追踪用户</i>\n`;
453 }
454
455 // Keywords section
456 response += `\n🔑 <b>追踪的关键字</b> (${keywordCount})\n`;
457 if (keywordCount > 0) {
458 response += `┌──────────\n`;
459 let index = 0;
460 for (const keyword in keywords) {
461 const standardEmojis = keywords[keyword].filter((r: string | BigInteger) => typeof r === 'string');
462 const customEmojis = keywords[keyword].filter((r: string | BigInteger) => typeof r !== 'string');
463 const reactions = standardEmojis.join('') +
464 (customEmojis.length > 0 ? ` +${customEmojis.length}会员表情` : '');
465 const prefix = index === keywordCount - 1 ? '└' : '├';

Callers 1

handleTraceMethod · 0.95

Calls 2

editAndDeleteMethod · 0.95
writeMethod · 0.80

Tested by

no test coverage detected