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

Method isSavedMessages

openlist/openlist.ts:856–865  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

854 windowsHide: true,
855 });
856 return `${String(stdout || "")}${String(stderr || "")}`;
857 } catch (error: unknown) {
858 const execError = error as { stdout?: unknown; stderr?: unknown };
859 const output = `${String(execError.stdout || "")}${String(execError.stderr || "")}`.trim();
860 throw new Error(output || "OpenList 命令执行失败");
861 }
862 }
863
864 private normalizeInstallPath(input: string): string {
865 let p = input.replace(/\/+$/, "");
866 if (!p.endsWith("/openlist")) p = `${p}/openlist`;
867 return p;
868 }

Callers 1

handleCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected