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

Method handleClearCommand

convert/convert.ts:417–421  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

415 }
416
417 private async handleClearCommand(msg: Api.Message): Promise<void> {
418 await msg.edit({ text: "🧹 正在清理临时文件...", parseMode: "html" });
419 converter.cleanupAllTempFiles();
420 await msg.edit({ text: "✅ 临时文件已清理", parseMode: "html" });
421 }
422
423 private async handleApiKeyCommand(msg: Api.Message, apiKey: string): Promise<void> {
424 if (!apiKey) {

Callers 1

ConvertPluginClass · 0.95

Calls 2

cleanupAllTempFilesMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected