The command exited with code 0. Output: 218: console.log("Database initialized successfully."); 686: joinKeyboardButtons.push([{ text: 'Joined (Check)', callback_data: 'check_joined', style: 'success' }]); 1245: keyboard.push([{ text: 'Verify Join', callback_data: 'VERIFY_CHANNEL_FSUB', style: 'success' }]); 1350: { text: 'Free Credits', callback_data: 'EARN_FREE_CREDIT', style: 'success' } 1374: if (data.status === "success" && Array.isArray(data.data)) { 1376: success: true, 1378: success: true, 1396: if (data.success && data.result && data.result.success && Array.isArray(data.result.results) && data.result.results.length > 0) { 1409: // Success! Perform access deduction/charge 1538: console.log(`[FREE CREDIT] Successfully registered and granted 120 credits to new user: ${userId}`); 1615: { text: '📥 Download PDF', callback_data: 'START_DOWNLOAD_AADHAAR', style: 'success' } 1622: { text: '🎁 Free Credits', callback_data: 'EARN_FREE_CREDIT', style: 'success' } 1674: [{ text: `Yes, get ${cachedRecord.name}'s Aadhaar`, callback_data: 'CACHE_CONFIRM_YES', style: 'success' }], 1728: keyboard.push([{ text: 'Verify Join', callback_data: 'VERIFY_CHANNEL_FSUB', style: 'success' }]); 1769: { text: 'Free Credits', callback_data: 'EARN_FREE_CREDIT', style: 'success' } 2424: await ctx.reply(`✅ **Successfully updated credits to 120 for ${targets.length} users!** Starting notification broadcast...`, { parse_mode: 'Markdown' }); 2426: const stats = { success: 0, failed: 0, blocked: 0, deactivated: 0 }; 2441: `✅ Success: ${stats.success}\n` + 2456: stats.success++; 2482: success: 0, 2510: ` Success: ${broadcastState.stats.success}\n` + 2533: ` Success: ${broadcastState.stats.success}\n` + 2574: let success = false; 2584: success = true; 2593: if (success) { 2594: broadcastState.stats.success++; 2677: success: 0, 2810: { text: freeModeState.active ? 'Free Mode: ON' : 'Free Mode: OFF', callback_data: 'ADMIN_TOGGLE_FREEMODE', style: freeModeState.active ? 'success' : 'danger' } 2814: { text: 'Add User Credits', callback_data: 'ADMIN_ADD_CREDITS_PROMPT', style: 'success' } 2889: { text: isFreeModeActive() ? '🎁 Free Mode: ON 🟢' : '🎁 Free Mode: OFF 🔴', callback_data: 'ADMIN_TOGGLE_FREEMODE', style: isFreeModeActive() ? 'success' : 'danger' } 2893: { text: '➕ Add User Credits', callback_data: 'ADMIN_ADD_CREDITS_PROMPT', style: 'success' } 2934: { text: isFreeModeActive() ? '🎁 Free Mode: ON 🟢' : '🎁 Free Mode: OFF 🔴', callback_data: 'ADMIN_TOGGLE_FREEMODE', style: isFreeModeActive() ? 'success' : 'danger' } 2938: { text: '➕ Add User Credits', callback_data: 'ADMIN_ADD_CREDITS_PROMPT', style: 'success' } 3062: `📉 Success Retrieval Cost / प्रति सफल खोज शुल्क:\n` + 3172: return ctx.reply(`✅ Payment Successful! (Paid from Wallet)\n\n` + 3173: `💎 You have successfully purchased the ${planLabel} Plan for ₹${amount}.\n` + 3290: if (otpResponse.ok && otpData.status === "success") { 3298: ctx.reply(`📩 OTP Sent Successfully!\n\nPlease enter the 6-digit OTP sent to your registered mobile number:\n\n💡 Send /cancel to cancel this process.`, { parse_mode: 'HTML' }); 3310: console.log(`[Attempt ${attempt}] Backend returned non-success status or HTTP error. Retrying...`); 3645: { text: '📂 Get Aadhaar PDF', callback_data: `DIRECT_DOWNLOAD_${text}`, style: 'success' } 3773: if (finalResponse.ok && data.status === "success") { 3814: [{ text: 'Secure Download PDF', callback_data: 'CONTINUE_PDF', style: 'success' }] 3857: if (data.status === "success" && data.pdfBase64) { 3944: ctx.reply(`
🎉 PDF Downloaded Successfully!
\n` + 4002: const successMsg = `📸 Screenshot Submitted Successfully! / स्क्रीनशॉट सबमिट हो गया!\n` + 4006: await ctx.reply(successMsg, { parse_mode: 'HTML' }); 4072: console.log(`[PAYMENT] Automatic login successful! New token retrieved.`); 4303: console.log(`[PAYMENT] Successfully matched record on attempt ${attempt}. Serial: ${serialNumber}, Date: ${depositTime}`); 4402: { text: 'Check Payment', callback_data: `verify_${orderId}`, style: 'success' } 4412: console.log(`[PAYMENT SUCCESS] QR Code sent to user ${userId}. Session set to WAITING_FOR_UTR.`); 4608: const confirmMsg = `✅ UTR Submitted Successfully! / UTR सफलतापूर्वक सबमिट हो गया!\n` + 4661: if (status === 'SUCCESS' || status === 'APPROVED' || status === 'COMPLETED' || status === 'SUCCESSFUL') { 4814: if (status === 'SUCCESS' || status === 'APPROVED' || status === 'COMPLETED' || status === 'SUCCESSFUL') { 4894: const successMsg = isPlanApplied 4895: ? `🔔 PLAN PURCHASE SUCCESSFUL 🔔\n` + 4897: `Aapka plan upgrade successful ho gaya hai!\n\n` + 4906: `Aapka pending deposit successful ho gaya hai!\n\n` + 4914: await bot.telegram.sendMessage(payment.userId, successMsg, { parse_mode: 'HTML' }).catch(err => { 4918: // --- Edit support group notification to SUCCESS --- 4922: const successIST = formatDateIST(new Date()); 4923: const successNotif = `✅ UTR VERIFIED — PAYMENT SUCCESSFUL\n` + 4932: `🕐 Confirmed At: ${successIST}\n` + 4934: `🎉 Status: SUCCESS ✅`; 4935: await bot.telegram.editMessageText(logGroupId, payment.supportMsgId, undefined, successNotif, { parse_mode: 'HTML' }).catch(e => { 4936: console.error('[SUPPORT NOTIF] Failed to edit success notification:', e.message); 4941: console.error('[SUPPORT NOTIF] Error editing success notification:', e.message); 5062: const stats = { success: 0, failed: 0, blocked: 0, deactivated: 0 }; 5079: `✅ Success: ${stats.success}\n` + 5094: stats.success++; 5149: console.log("[DAILY RESET] Midnight credit reset completed successfully.");