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

Class CleanMemberPlugin

clean_member/clean_member.ts:909–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907 const failedReportPath = await generateFailedReport(result.failedUsers, chatTitle, numericChatId);
908 await client.sendMessage("me", {
909 message: `⚠️ <b>清理失败用户报告</b>\n\n` +
910 `🏷️ 群组: <b>${htmlEscape(chatTitle)}</b>\n` +
911 `❌ 失败数量: <code>${result.failedUsers.length}</code> 人\n` +
912 `📁 报告文件: <code>${path.basename(failedReportPath)}</code>\n\n` +
913 `📊 详细信息请查看 CSV 文件`,
914 parseMode: "html",
915 file: failedReportPath
916 });
917 console.log(`失败用户报告已发送到收藏夹: ${failedReportPath}`);
918 } catch (error) {
919 console.error("生成或发送失败报告失败:", error);
920 }
921 }
922};
923

Callers

nothing calls this directly

Calls 1

getHelpTextFunction · 0.70

Tested by

no test coverage detected