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]
@@ -1183,7 +1183,7 @@
freeUsedToday = await getDailyFreeNumSearches(userId);
if (freeUsedToday < 2) {
hasAccess = true;
- } else if (access.credits >= 50) {
+ } else if (access.credits >= 1) {
hasAccess = true;
}
}
@@ -1193,9 +1193,9 @@
`👤 Session Info:\n` +
`• User: ${ctx.from?.first_name || 'User'}\n` +
`• ID: ${userId}\n` +
- `• Balance: ₹${access.credits} 💰\n\n` +
- `
⚠️ Access Limit / Limit Restricted:\n` + - `Aapke paas active balance nahi hain aur aapke daily 2 free searches khatam ho chuke hain. Aage search karne ke liye balance khareedein (Cost: ₹50 per search).\n\n` + + `• Balance:${access.credits} Credits🪙\n\n` + + `⚠️ Access Limit / Limit Restricted:\n` + + `Aapke paas active credits nahi hain aur aapke daily 2 free searches khatam ho chuke hain. Aage search karne ke liye credits khareedein (Cost: 1 Credit per search).\n\n` + `(You do not have enough balance and your 2 daily free searches are exhausted. Please add funds or a subscription plan to proceed.)\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.