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

Function getMediaKind

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

Source from the content-addressed store, hash-verified

465 foldSection(
466 `- 显示选项`,
467 [
468 `使用 <code>${cmd} hidden</code> - 隐藏头像与昵称`,
469 `使用 <code>${cmd} media</code> - 强制附带媒体预览`,
470 `使用 <code>${cmd} crop</code> - 媒体按比例裁剪`,
471 ].join("\n"),
472 ),
473 ``,
474 foldSection(
475 `- 样式`,
476 [
477 `使用 <code>${cmd} #1b1429</code> 或 <code>${cmd} #111/#222</code> - 背景色 / 渐变`,
478 `使用 <code>${cmd} bg random</code> - 随机背景色`,
479 `使用 <code>${cmd} scale 2</code> - 缩放 1–20(默认 2)`,
480 `使用 <code>${cmd} apple</code> / <code>google</code> / <code>twitter</code> / <code>joypixels</code> / <code>blob</code> - Emoji 风格`,
481 ].join("\n"),
482 ),
483 ``,
484 foldSection(
485 `- 组合示例`,
486 [
487 `<code>${cmd} r 3</code>`,
488 `<code>${cmd} stories #231d2b/#372e44</code>`,

Callers 4

mediaFallbackTextFunction · 0.85
hasPreviewMediaFunction · 0.85
messageTextFunction · 0.85
prepareQuoteMediaFunction · 0.85

Calls 1

getDocumentAttributesFunction · 0.85

Tested by

no test coverage detected