The command exited with code 0.
Output:
const required = serviceType === 'RETRIEVE_SMS' ? 80 :
serviceType === 'EID_TO_PDF' ? 100 : 120;
const hasSuffCredits = access.isUnlimited || access.credits >= required;
console.log(`[DEBUG] startService userId=${userId}, isUnlimited=${access.isUnlimited}, credits=${access.credits}, hasSuffCredits=${hasSuffCredits}, hasAccess=${access.hasAccess}, plan_type from DB?`);
if (!access.hasAccess || !hasSuffCredits) {
if (ctx.callbackQuery) {
ctx.answerCbQuery("โ Insufficient Credits!", { show_alert: true }).catch(() => { });
ctx.deleteMessage().catch(() => { });
}
const unauthorizedMsg = `๐ก๏ธ ${toMono("AADHAAR PREMIUM SERVICES")}\n` +
`โโโโโโโโโโโโโโโโโโโโโโโโโโ\n` +
`๐ค Session Info:\n` +
`โข User: ${firstName}\n` +
`โข ID: ${userId}\n` +
`โข Balance: โน0 ๐ฐ (No Active Plan)\n\n` +
`
โ ๏ธ Access Limit / Limit Restricted:\n` + `Aapke paas active balance nahi hain. Aage ki services use karne ke liye balance khareedein (balance khareedo tabhi access hoga).\n\n` + `(You do not have enough balance. Please add funds or a subscription plan to proceed.)\n\n` + `๐ Daily Free Limit / เคกเฅเคฒเฅ เคซเฅเคฐเฅ เคฒเคฟเคฎเคฟเค:\n` + `
Har user ko daily 1 Aadhaar search (โน120) aur 2 Number Info (/num) searches bilkul free di jati hain, jo har raat 12:00 AM IST ko reset ho jati hain!\n\n` +
`Aapka balance har midnight reset hokar exact โน120 ho jata hai (non-accumulative). Number Info limit bhi daily 2 free searches par reset ho jati hai.\n` +
`โโโโโโโโโโโโโโโโโโโโโโโโโโ\n` +
`๐ Dev: @EverythingBypass`;
return ctx.reply(unauthorizedMsg, {
parse_mode: 'HTML',
...Markup.inlineKeyboard([
[
{ text: 'Add Funds', callback_data: 'BUY_CREDITS_MENU', style: 'primary' },
{ text: 'Free Credits', callback_data: 'EARN_FREE_CREDIT', style: 'success' }
],
[
{ text: 'Support', url: 'https://t.me/EverythingBypass', style: 'primary' }
]
])
});
}
if (access.isUnlimited) {
// Cooldown check for unlimited users
const cooldown = checkCooldown(userId, serviceType);
if (cooldown.active) {
const minutes = Math.floor(cooldown.timeLeft / 60);
const seconds = cooldown.timeLeft % 60;
const timeStr = `${minutes}m ${seconds}s`;
if (ctx.callbackQuery) {
ctx.answerCbQuery(`Cooldown active! Wait ${timeStr}.`, { show_alert: true }).catch(() => { });
}