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

Function htmlEscape

shift/shift.ts:75–88  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

73 };
74}
75
76// HTML 转义(规范要求)
77// 获取命令前缀
78const prefixes = getPrefixes();
79const mainPrefix = prefixes[0];
80
81// Available message types
82const AVAILABLE_OPTIONS = new Set([
83 "handle_edited",
84 "silent",
85 "text",
86 "all",
87 "photo",
88 "document",
89 "video",
90 "sticker",
91 "animation",

Callers 3

formatEntityFunction · 0.70
getDisplayNameFunction · 0.70
ShiftPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected