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

Function htmlEscape

kkp/kkp.ts:10–21  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

8
9import { htmlEscape } from "@utils/htmlEscape";
10
11// HTML转义函数 (虽然这次用实体不需要了,但保留作为工具函数无妨)
12// 获取命令前缀
13const prefixes = getPrefixes();
14const mainPrefix = prefixes[0];
15
16// 帮助文本
17const help_text = `🎲 <b>随机色色视频获取</b>
18
19<b>命令:</b>
20• <code>${mainPrefix}kkp</code> - 从SeSe3000Bot获取随机视频并转发
21
22<b>说明:</b>
23该插件会自动与SeSe3000Bot交互获取随机视频内容`;
24

Callers 2

KkpPluginClass · 0.70
getRandomVideoMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected