MCPcopy Create free account
hub / github.com/ArrowM/Queue-Bot / formatEntry

Function formatEntry

src/utils/string.utils.ts:179–184  ·  view source on GitHub ↗
(entry: T)

Source from the content-addressed store, hash-verified

177 }
178
179 function formatEntry(entry: T): { name: string, value: string } {
180 return {
181 name: entryLabelProperty ? formatPropertyValue(entry, entryLabelProperty) : entryLabel,
182 value: formatEntryDescription(entry),
183 };
184 }
185
186 const embeds = Object.entries(groupBy(entries, queueIdProperty)).map(([queueId, queueEntries]) => {
187 const _queueId = BigIntSafe(queueId);

Callers 1

describeTableFunction · 0.85

Calls 2

formatPropertyValueFunction · 0.85
formatEntryDescriptionFunction · 0.85

Tested by

no test coverage detected