MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / formatMetaLine

Function formatMetaLine

src/utils/logEmbeds.js:15–20  ·  view source on GitHub ↗
(entries)

Source from the content-addressed store, hash-verified

13}
14
15export function formatMetaLine(entries) {
16 return entries
17 .filter(([, value]) => value !== undefined && value !== null && value !== '')
18 .map(([label, value]) => `**${label}:** ${value}`)
19 .join(' • ');
20}
21
22export function buildQuotedBlock(lines) {
23 return lines.map((line) => `> ${line}`).join('\n');

Callers 1

buildLogDescriptionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected