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

Function htmlEscape

manage_admin/manage_admin.ts:23–30  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

21使用 <code>${commandName} rm/remove</code> 回复一条消息, <code>${commandName} rm/remove 用户ID/用户名</code> 将用户移除管理员
22<code>${commandName} ls/list</code> 查看当前对话所有管理员
23`;
24
25function codeTag(text: string | number): string {
26 return `<code>${htmlEscape(String(text))}</code>`;
27}
28async function formatEntity(
29 target: any,
30 mention?: boolean,
31 throwErrorIfFailed?: boolean
32) {
33 const client = await getGlobalClient();

Callers 3

codeTagFunction · 0.70
formatEntityFunction · 0.70
listAdminsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected