111dhruvil111/EntrysakibotPublic · Bot Template

AIThis TBL bot implements a private crypto community access flow called RED EYE. It stores user Telegram profiles, enforces entry requirements such as minimum crypto net worth and deal volume, and offers inline buttons for applying, checking application status, and contacting support. Admin commands are protected by an owner/admin registry, log actions to an audit trail, and route callback-driven menus. A global webhook worker retries failed notifications, and the wildcard handler collects multi-step form input such as asset names.

Socialcryptoprivate-communityaccess-applicationadmin-panelaudit-lognotifications
ProfileTelegram
7 commands0 envUpdated 20d agoCreated Aug 17, 2026
Back to folder

commands/_start.js

javascript · 52 lines

Raw
1/**#command2name: /start3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12/**#command13name: /start14answer:15keyboard:16parse_mode: markdown17aliases:18allow_only_group: false19need_reply: 020case_insensitive: true21is_web: 022#command**/23 24let __profile={user_id:Number(user.telegramid||user.id), username:user.username||"", first_name:user.first_name||"", last_name:user.last_name||"", language_code:user.language_code||"", is_premium:user.is_premium===true, updated_at:Date.now()};25let __boot=await Promise.all([db.user.set("telegram_profile",__profile),db.bot.get("system_settings", {})]);26let s = __boot[1];27if (!s || typeof s !== "object") s = {};28let minCrypto = Number(s.min_crypto_networth || 1000);29let minDeals = Number(s.min_deal_volume || 3000);30 31Api.sendMessage({32  chat_id: chat.id,33  text:34    "♠️ <b>RED EYE • PRIVATE CRYPTO CIRCLE</b>\n" +35    "<i>Private access. Verified participants. Zero noise.</i>\n\n" +36    "━━━━━━━━━━━━━━━━━━\n" +37    "💠 <b>INSIDE THE NETWORK</b>\n" +38    "• P2P & private deal flow\n• Limited OTC opportunities\n• NFT gifts & crypto networking\n• Controlled advertising\n\n" +39    "🔐 <b>ENTRY REQUIREMENTS</b>\n" +40    "• Telegram Premium + public username\n• 18+ confirmation\n" +41    "• Verified crypto portfolio: <b>$" + minCrypto + "+</b>\n" +42    "• Verified deal history: <b>$" + minDeals + "+</b>\n" +43    "• Wallet ownership proof\n• Official channel membership\n" +44    "━━━━━━━━━━━━━━━━━━\n" +45    "🧿 <i>Every application is reviewed manually before access is granted.</i>",46  parse_mode: "HTML",47  reply_markup: { inline_keyboard: [48    [{ text: "✦ Apply for Private Access", callback_data: "user_core apply", style: "success" }],49    [{ text: "📡 Live Application Status", callback_data: "user_core status", style: "primary" }],50    [{ text: "💬 Private Support", callback_data: "user_core support", style: "primary" }]51  ]}52});