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

Function getRandomBaseEmoji

sticker/sticker.ts:101–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 const idx = Math.floor(Math.random() * BASE_EMOJIS.length);
100 return BASE_EMOJIS[idx];
101};
102
103// Custom Error for better handling
104class StickerError extends Error {
105 constructor(message: string) {
106 super(message);
107 this.name = "StickerError";

Callers 1

handleStickerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected