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

Function htmlEscape

lottery/lottery.ts:20–27  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

18// Get command prefixes
19const prefixes = getPrefixes();
20const mainPrefix = prefixes[0];
21
22// HTML escape function
23function codeTag(text: string | number): string {
24 return `<code>${htmlEscape(String(text))}</code>`;
25}
26
27// Initialize database
28let db = new Database(
29 path.join(createDirectoryInAssets("lottery"), "lottery.db")
30);

Callers 6

codeTagFunction · 0.70
sendPrizeToWinnerFunction · 0.70
formatUserLineFunction · 0.70
performLotteryDrawFunction · 0.70
lotteryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected