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] @@ -1638,8 +1638,8 @@ // 1 Search = 1 Credit for all services const required = 1; - const hasSuffCredits = access.isUnlimited || access.credits >= required; - console.log(`[DEBUG] startService userId=${userId}, isUnlimited=${access.isUnlimited}, credits=${access.credits}, hasSuffCredits=${hasSuffCredits}, hasAccess=${access.hasAccess}`); + const hasSuffCredits = access.isUnlimited || access.hasFreeSearch || access.credits >= required; + console.log(`[DEBUG] startService userId=${userId}, isUnlimited=${access.isUnlimited}, hasFreeSearch=${access.hasFreeSearch}, credits=${access.credits}, hasSuffCredits=${hasSuffCredits}, hasAccess=${access.hasAccess}`); if (!access.hasAccess || !hasSuffCredits) { if (ctx.callbackQuery) { @@ -1651,13 +1651,13 @@ `👤 Session Info:\n` + `â€ĸ User: ${firstName}\n` + `â€ĸ ID: ${userId}\n` + - `â€ĸ Balance: ${access.credits || 0} Credits ${CREDIT_EMOJI}\n\n` + - `
âš ī¸ Access Limit / Limit Restricted:\n` + - `Aapke paas active credits nahi hain. Aage search karne ke liye credits khareedein (Cost: 1 Credit ${CREDIT_EMOJI} per search).\n\n` + - `(You do not have enough credits. Please add funds or a subscription plan to proceed.)
\n\n` + - `🎁 Daily Free Limit / ā¤ĄāĨ‡ā¤˛āĨ€ ā¤ĢāĨā¤°āĨ€ ⤞ā¤ŋā¤Žā¤ŋ⤟:\n` + - `
Har user ko daily 1 Aadhaar search (1 Credit ${CREDIT_EMOJI}) bilkul free di jati hai, jo har raat 12:00 AM IST ko reset ho jati hai!\n\n` + - `Aapka balance har midnight reset hokar exact 1 Credit ${CREDIT_EMOJI} ho jata hai (non-accumulative).
\n` + + `â€ĸ Balance: ${access.credits || 0} Credits ${CREDIT_EMOJI}\n` + + `â€ĸ Daily Free Search: Used Today (Resets 12:00 AM IST) âŗ\n\n` + + `
âš ī¸ Access Limit / Limit Restricted:\n` + + `Aapka aaj ka 1 Daily Free Search use ho chuka hai aur aapke paas credits nahi hain. Aage search karne ke liye credits khareedein (Cost: 1 Credit ${CREDIT_EMOJI} per search = ₹60).\n\n` + + `(Daily free search exhausted. Please add funds or a subscription plan to proceed.)
\n\n` + + `🎁 Daily Free Search:\n` + + `
Har user ko daily 1 search bilkul free di jaati hai, jo har raat 12:00 AM IST ko reset ho jaati hai!
\n` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\n` + `💎 Dev: @EverythingBypass`; [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.