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

Function emojiStatusIdFromEntity

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

Source from the content-addressed store, hash-verified

429 return /^(help|\?|h|帮助)$/i.test(t) || /(?:^|\s)(help|\?|帮助)(?:\s|$)/i.test(t);
430}
431
432function foldSection(title: string, body: string): string {
433 // 标签与正文之间禁止换行:<blockquote expandable>内容</blockquote>
434 return `${title}\n<blockquote expandable>${body}</blockquote>`;
435}
436
437function buildQuoteHelpText(): string {
438 const prefixes = getPrefixes();
439 const mainPrefix = prefixes[0] || ".";
440 const cmd = `${mainPrefix}q`;

Callers 2

emojiStatusPayloadFunction · 0.85
toQuoteMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected