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

Function stableEntityKey

quote/quote.ts:385–389  ·  view source on GitHub ↗
(entity: any)

Source from the content-addressed store, hash-verified

383 const colorEq = lower.match(/^(?:bg|color|background)[=:](.+)$/i);
384 if (colorEq) {
385 out.backgroundColor = normalizeColorToken(colorEq[1]);
386 out.color = out.backgroundColor;
387 continue;
388 }
389 if (lower === "bg" || lower === "color" || lower === "background") {
390 const next = args[i + 1];
391 if (next && isColorToken(next)) {
392 out.backgroundColor = normalizeColorToken(next);

Callers 2

senderEntityFunction · 0.85
downloadEntityAvatarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected