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

Function mediaFallbackText

quote/quote.ts:487–496  ·  view source on GitHub ↗
(msg: Api.Message)

Source from the content-addressed store, hash-verified

485 `- 组合示例`,
486 [
487 `<code>${cmd} r 3</code>`,
488 `<code>${cmd} stories #231d2b/#372e44</code>`,
489 `<code>${cmd} image r hidden scale 3</code>`,
490 `<code>${cmd} help</code> - 显示本帮助`,
491 ].join("\n"),
492 ),
493 ].join("\n");
494}
495
496function asBigInt(value: any): bigint | undefined {
497 if (value === undefined || value === null) return undefined;
498 try { return BigInt(value.value ?? value); } catch (_) { return undefined; }
499}

Callers 1

messageTextFunction · 0.85

Calls 1

getMediaKindFunction · 0.85

Tested by

no test coverage detected