millswelbeck148/SireimadeBotPublic · Bot Template
AISireImade appears to be a Telegram automation bot. Commands include /start, /about, /support, /id, /admin, /ban, /unban, /x. Observed in code: messaging, keyboards, games.
Utilityutility
112 commands3 envUpdated 2h agoCreated Aug 27, 2026
commands/_text.js
javascript · 62 lines
1/**#command2name: /text3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12var key = process.env.OPENAIAPIKEY13 14if (!key) {15 Bot.sendMessage("❌ OPENAIAPIKEY is missing")16 return17}18 19Bot.sendMessage("Sending request to OpenAI... ⏳")20 21try {22 23 HTTP.post({24 url: "https://api.openai.com/v1/responses",25 26 headers: {27 "Authorization": "Bearer " + key,28 "Content-Type": "application/json"29 },30 31 body: JSON.stringify({32 model: "gpt-5-mini",33 input: "Reply with exactly: Gift is alive ❤️"34 }),35 36 success: function(response) {37 38 Bot.sendMessage(39 "OPENAI RESPONSE ✅\n\n" +40 JSON.stringify(response)41 )42 43 },44 45 error: function(error) {46 47 Bot.sendMessage(48 "OPENAI ERROR ❌\n\n" +49 JSON.stringify(error)50 )51 52 }53 })54 55} catch (e) {56 57 Bot.sendMessage(58 "CODE ERROR ❌\n\n" +59 String(e)60 )61 62 }