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] @@ -1549,9 +1549,35 @@ const planBadge = access.isUnlimited ? `👑 UNLIMITED VIP 💎` : `₹${access.credits} (Credits) 🪙`; - const expiryLine = access.isUnlimited && access.planExpiresAt - ? `⏳ Expires: ${access.planExpiresAt.toLocaleString('en-IN', { timeZone: 'Asia/Kolkata' })}\n` - : ''; + + const formatIST = (d) => { + if (!d) return null; + try { + return new Date(d).toLocaleString('en-IN', { + timeZone: 'Asia/Kolkata', + day: '2-digit', + month: '2-digit', + year: 'numeric', + hour: '2-digit', + minute: '2-digit', + hour12: true + }); + } catch (e) { + return null; + } + }; + + let dateLines = ''; + if (access.isUnlimited && access.planExpiresAt) { + const startStr = formatIST(access.planStartedAt) || formatIST(access.createdAt) || 'Active'; + const expiryStr = formatIST(access.planExpiresAt); + dateLines = `🟢 Start Date: ${startStr}\n` + + `🔴 Expiry Date: ${expiryStr}\n`; + } else { + const startStr = formatIST(access.createdAt) || formatIST(new Date()); + dateLines = `🟢 Start Date: ${startStr}\n` + + `⏳ Expiry Date: Lifetime (No Expiry)\n`; + } const welcomeMsg = isNewUser ? `⚡ AADHAAR VIP HUB ⚡\n` + @@ -1559,7 +1559,8 @@ `👤 NEW USER PROFILE\n` + `🏷️ Name: ${firstName}\n` + `🆔 User ID: ${userId}\n` + - `🎁 Bonus: ₹120 Credits Active 🪙\n\n` + + `🎁 Bonus: ₹120 Credits Active 🪙\n` + + `${dateLines}` + `🎉 FREE TRIAL GRANTED!\n` + `Aapko 1 Free Search (₹120) mila hai.\n` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + @@ -1573,7 +1573,7 @@ `🏷️ Name: ${firstName}\n` + `🆔 User ID: ${userId}\n` + `💎 Tier: ${planBadge}\n` + - `${expiryLine}` + + `${dateLines}` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + `🛡️ Engine: Ultra-Fast v3.0 | Ping: 12ms 🟢\n` + `💬 Support: @EverythingBypass\n` + [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.