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/global force-join.js

javascript · 143 lines

Raw
1/**#command2name: global force-join3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// 👑 GIFT AI — GLOBAL FORCE JOIN14// REQUIRED BEFORE USING ANY BOT FEATURE15// FAST • ACCURATE • RESPONSIVE16// ==========================================================17 18 19// ==========================================================20// FORCE JOIN CONFIG21// ==========================================================22 23var FORCE_JOIN_CHAT = "@gunnaxeden";24var FORCE_JOIN_LINK = "https://t.me/gunnaxeden";25 26 27// ==========================================================28// GLOBAL FORCE JOIN CHECK29// ==========================================================30 31var giftUserId = String(32  user.telegramid ||33  user.id ||34  ""35);36 37 38// ==========================================================39// CHECK MEMBERSHIP40// ==========================================================41 42var giftMemberCheck = await Api.call("getChatMember", {43  chat_id: FORCE_JOIN_CHAT,44  user_id: Number(giftUserId)45});46 47 48// ==========================================================49// API CHECK FAILED50// ==========================================================51 52if (!giftMemberCheck || !giftMemberCheck.ok) {53 54  Bot.sendInlineKeyboard(55    [56      [57        {58          text: "📢 JOIN @GUNNAXEDEN",59          url: FORCE_JOIN_LINK60        }61      ],62      [63        {64          text: "✅ I'VE JOINED",65          callback_data: "FORCEJOIN_CHECK"66        }67      ]68    ],69    "🔒 *ACCESS REQUIRED*\n\n" +70    "Hey " + (user.first_name || "there") + " 👋\n\n" +71    "You need to join our group before you can use *Gift AI*.\n\n" +72    "👥 *Required:* @gunnaxeden\n\n" +73    "Join the group, then come back and tap *I've Joined*.\n\n" +74    "✨ Once verified, you'll have full access to Gift."75  );76 77  return;78}79 80 81// ==========================================================82// GET MEMBER STATUS83// ==========================================================84 85var giftStatus = giftMemberCheck.result.status;86 87 88// ==========================================================89// ACCEPTED MEMBER STATUSES90// ==========================================================91 92var giftAllowedStatuses = [93  "member",94  "administrator",95  "creator"96];97 98 99// ==========================================================100// USER HAS NOT JOINED101// ==========================================================102 103if (giftAllowedStatuses.indexOf(giftStatus) === -1) {104 105  Bot.sendInlineKeyboard(106    [107      [108        {109          text: "📢 JOIN @GUNNAXEDEN",110          url: FORCE_JOIN_LINK111        }112      ],113      [114        {115          text: "🔄 CHECK AGAIN",116          callback_data: "FORCEJOIN_CHECK"117        }118      ]119    ],120    "⛔ *YOU HAVEN'T JOINED YET*\n\n" +121    "Join @gunnaxeden first to unlock Gift AI.\n\n" +122    "After joining, tap *CHECK AGAIN* below."123  );124 125  return;126}127 128 129// ==========================================================130// USER PASSED FORCE JOIN131// ==========================================================132 133// IMPORTANT:134// Everything below this point is allowed to execute.135//136// Put your actual command / AI code AFTER this section.137//138// ==========================================================139 140 141// Example:142//143// Bot.sendMessage("✅ Access granted!");