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

Method exportStr

keyword/keyword.ts:86–94  ·  view source on GitHub ↗
(showAll: boolean = false)

Source from the content-addressed store, hash-verified

84 source_delay_delete: this.source_delay_delete,
85 };
86 }
87
88 exportStr(showAll: boolean = false): string {
89 let text = `${codeTag(this.task_id ?? "")}`;
90 text += ` - ${codeTag(this.key)} - `;
91 if (showAll) {
92 text += `${codeTag(this.cid)} - `;
93 }
94 text += `${htmlEscape(this.msg)}`;
95 return text;
96 }
97

Callers 1

printAllTasksMethod · 0.80

Calls 2

codeTagFunction · 0.70
htmlEscapeFunction · 0.70

Tested by

no test coverage detected