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
ProfileTelegram
112 commands3 envUpdated 1h agoCreated Aug 27, 2026
Back to folder

commands/_8ball.js

javascript · 117 lines

Raw
1/**#command2name: /8ball3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// 🎱 GIFT AI — /8BALL14// SMART • RESPONSIVE • ENGAGING • ERROR-SAFE15// DIRECT REPLY TO USER16// ==========================================================17 18// ----------------------------------------------------------19// 🎱 8-BALL ANSWERS20// ----------------------------------------------------------21 22var answers = [23  "🎱 Yes.",24  "🎱 Definitely.",25  "🎱 Absolutely.",26  "🎱 Without a doubt.",27  "🎱 Most likely.",28  "🎱 The signs point to yes.",29  "🎱 You can count on it.",30  "🎱 Looking very promising.",31  "🎱 I'd say yes.",32  "🎱 Chances look good.",33 34  "🎱 Ask again later.",35  "🎱 Maybe.",36  "🎱 Hard to tell right now.",37  "🎱 The answer is unclear.",38  "🎱 Too early to say.",39  "🎱 Wait and see.",40  "🎱 The signs are mixed.",41  "🎱 I'm not sure about that one.",42 43  "🎱 I don't think so.",44  "🎱 Unlikely.",45  "🎱 No.",46  "🎱 Definitely not.",47  "🎱 Don't count on it.",48  "🎱 The signs point to no.",49  "🎱 I'd say no.",50  "🎱 Chances don't look good.",51  "🎱 Probably not."52];53 54// ----------------------------------------------------------55// ❓ GET QUESTION SAFELY56// ----------------------------------------------------------57 58var question = "";59 60try {61  question = String(params || "").trim();62} catch (e) {63  question = "";64}65 66// ----------------------------------------------------------67// 🚫 NO QUESTION68// ----------------------------------------------------------69 70if (!question) {71 72  Bot.sendMessage({73    text:74      "🎱 <b>8-BALL</b>\n\n" +75      "❓ You forgot to ask me something.\n\n" +76      "💡 Example:\n" +77      "<code>/8ball Will I become rich?</code>",78    parse_mode: "HTML",79    reply_to_message_id: request.message_id80  });81 82  return;83}84 85// ----------------------------------------------------------86// ✂️ PROTECT AGAINST VERY LONG QUESTIONS87// ----------------------------------------------------------88 89if (question.length > 500) {90  question = question.substring(0, 500).trim() + "…";91}92 93// ----------------------------------------------------------94// 🔮 RANDOM ANSWER95// ----------------------------------------------------------96 97var answer =98  answers[Math.floor(Math.random() * answers.length)];99 100// ----------------------------------------------------------101// 🎱 SEND DIRECT REPLY102// ----------------------------------------------------------103 104Bot.sendMessage({105  text:106    "🎱 <b>8-BALL</b>\n\n" +107    "❓ <b>Question:</b>\n" +108    question +109    "\n\n" +110    "🔮 <b>Answer:</b>\n" +111    answer,112 113  parse_mode: "HTML",114 115  // Reply directly to the /8ball message116  reply_to_message_id: request.message_id117});