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

Method resetDatabase

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

Source from the content-addressed store, hash-verified

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 ? '└' : '├';
466 response += `${prefix} <code>${htmlEscape(keyword)}</code>\n`;
467 response += `${prefix === '└' ? ' ' : '│'} └ ${reactions}\n`;
468 index++;
469 }
470 } else {
471 response += `└ <i>暂无追踪关键字</i>\n`;
472 }
473
474 // Settings section
475 response += `\n⚙️ <b>当前配置</b>\n`;
476 response += `├ 📝 保留日志: ${this.db.data.config.keepLog ? '✅ 启用' : '❌ 禁用'}\n`;
477 response += `└ 🎭 大号动画: ${this.db.data.config.big ? '✅ 启用' : '❌ 禁用'}\n`;
478

Callers 1

handleTraceMethod · 0.95

Calls 2

editAndDeleteMethod · 0.95
writeMethod · 0.80

Tested by

no test coverage detected