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

Function execFileAsync

quote/quote.ts:679–683  ·  view source on GitHub ↗
(cmd: string, args: string[], timeout = 10000)

Source from the content-addressed store, hash-verified

677 const attrs = getDocumentAttributes(msg);
678 if (attrs.some((a: any) => (a.className || "").includes("Sticker"))) return "sticker";
679 if (attrs.some((a: any) => (a.className || "").includes("Animated")) || cls.includes("Dice")) return "animation";
680 if (attrs.some((a: any) => (a.className || "").includes("Audio") && a.voice)) return "voice";
681 if (attrs.some((a: any) => (a.className || "").includes("Audio"))) return "audio";
682 if (attrs.some((a: any) => (a.className || "").includes("Video") && a.roundMessage)) return "round";
683 if (attrs.some((a: any) => (a.className || "").includes("Video"))) return "video";
684 if (cls.includes("Photo")) return "photo";
685 if (cls.includes("Geo")) return "location";
686 if (cls.includes("Venue")) return "venue";

Callers 15

extractWebmFirstFrameFunction · 0.85
extractTgsFirstFrameFunction · 0.85
checkTgsDependenciesFunction · 0.85
convertTgsToWebmFunction · 0.85
convertMp4ToWebmFunction · 0.85
getCurrentServiceNameFunction · 0.85
handleServiceRequestFunction · 0.85
extractAnimatedFramesFunction · 0.85
encodeFramesToWebmFunction · 0.85
videoHasAudioTrackFunction · 0.85
ensureVideoHasAudioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected