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

Function htmlEscape

dc/dc.ts:6–13  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

4import { safeGetReplyMessage } from "@utils/safeGetMessages";
5
6import { htmlEscape } from "@utils/htmlEscape";
7
8const dc = async (msg: Api.Message) => {
9 const args = msg.message.slice(1).split(" ").slice(1);
10 const param = args[0] || "";
11
12 // 参数检查
13 if (args.length > 1) {
14 await msg.edit({
15 text: "❌ 参数错误,最多只能指定一个用户",
16 parseMode: "html",

Callers 1

dcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected