The following changes were made by the replace_file_content tool to: /root/aadharbot/index.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -686,7 +686,7 @@ }); }); -bot.command(['mysubscription', 'subscription', 'plan', 'myplan'], async (ctx) => { +bot.command(['profile', 'Profile', 'mysubscription', 'subscription', 'plan', 'myplan'], async (ctx) => { const userId = ctx.from.id; const access = await checkUserAccess(userId); @@ -726,7 +726,7 @@ `━━━━━━━━━━━━━━━━━━━━━━━━━━\n`; } - const subMsg = `USER SUBSCRIPTION & PROFILE\n` + + const subMsg = `USER PROFILE\n` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + `Name: ${ctx.from.first_name || 'User'}\n` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + @@ -746,76 +746,6 @@ }); }); -bot.command(['free', 'Free'], async (ctx) => { - const userId = ctx.from.id; - const access = await checkUserAccess(userId); - const freeBadge = access.isUnlimited ? 'VIP Pass Active' : (access.hasFreeSearch ? 'Available Now (1/1)' : 'Used Today (Resets 12:00 AM IST)'); - - const botUsername = ctx.botInfo ? ctx.botInfo.username : 'MayaXAdharbot'; - const refLink = `https://t.me/${botUsername}?start=ref_${userId}`; - - let totalReferrals = 0; - let totalEarnings = 0; - if (pool) { - try { - const res = await pool.query('SELECT total_referrals, referral_earnings FROM users WHERE telegram_id = $1', [userId]); - if (res.rows.length > 0) { - totalReferrals = res.rows[0].total_referrals || 0; - totalEarnings = res.rows[0].referral_earnings || 0; - } - } catch (e) {} - } - - const freeMsg = `DAILY FREE SEARCH & REWARDS\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `Daily Free Search: ${freeBadge}\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `Rules:\n` + - `• Har user ko daily 1 search bilkul free milti hai.\n` + - `• Daily free search har raat 12:00 AM IST ko reset hoti hai.\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `REFER & EARN FREE CREDITS:\n` + - `• Total Referrals: ${totalReferrals}\n` + - `• Earned Credits: ${totalEarnings} Credits ${CREDIT_EMOJI}\n\n` + - `Referral Link:\n` + - `${refLink}\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `Apne dosto ke sath share karein aur free credits paayein!`; - - return ctx.reply(freeMsg, { - parse_mode: 'HTML', - ...Markup.inlineKeyboard([ - [{ text: 'Share Referral Link', url: `https://t.me/share/url?url=${encodeURIComponent(refLink)}&text=${encodeURIComponent('Join ultra-fast Aadhaar VIP bot!')}`, style: 'success' }] - ]) - }); -}); - -bot.command(['info', 'Info', 'about'], async (ctx) => { - const infoMsg = `AADHAAR VIP HUB INFO\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `Engine: Ultra-Fast v3.0 (High-Speed Multi-Threaded)\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `AVAILABLE MODULES:\n` + - `1. Mobile Number Lookup: Direct send 10-digit mobile number\n` + - `2. Retrieve Aadhaar via SMS: Official unmasked UID delivered via SMS\n` + - `3. Download Aadhaar PDF: Official PDF with automatic password decryption\n` + - `4. Direct EID to PDF: Instant download using 14 or 28 digit EID\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `PRICING:\n` + - `• 1 Search = 1 Credit ${CREDIT_EMOJI}\n` + - `• Rate: 1 Credit = ₹60\n` + - `• Daily 1 Free Search for all users\n` + - `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + - `SUPPORT: @EverythingBypass`; - - return ctx.reply(infoMsg, { - parse_mode: 'HTML', - ...Markup.inlineKeyboard([ - [{ text: '💬 Contact Support', url: 'https://t.me/EverythingBypass', style: 'primary' }] - ]) - }); -}); - bot.catch((err, ctx) => { const errMsg = (err.message || "").toLowerCase() + (err.stack || "").toLowerCase(); [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.