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