The following changes were made by the replace_file_content tool to: /root/aadharbot/modules/commands/buysubscription.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -18,17 +18,26 @@ } const buttons = []; + const planBonusLabels = { + 'daily': 'Daily (2 Days 🎁)', + 'weekly': 'Weekly (10 Days 🎁)', + 'monthly': 'Monthly (40 Days 🚀)' + }; for (let i = 0; i < plans.length; i += 2) { const row = []; + const p1 = plans[i]; + const p1Label = planBonusLabels[p1.type] || p1.label.replace(/[^a-zA-Z0-9 ]/g, '').trim(); row.push({ - text: `${plans[i].label.replace(/[^a-zA-Z0-9 ]/g, '').trim()} (₹${plans[i].price.toLocaleString('en-IN')})`, - callback_data: `BUY_PLAN_${plans[i].type}_${plans[i].price}`, + text: `${p1Label} (₹${p1.price.toLocaleString('en-IN')})`, + callback_data: `BUY_PLAN_${p1.type}_${p1.price}`, style: 'primary' }); if (plans[i + 1]) { + const p2 = plans[i + 1]; + const p2Label = planBonusLabels[p2.type] || p2.label.replace(/[^a-zA-Z0-9 ]/g, '').trim(); row.push({ - text: `${plans[i + 1].label.replace(/[^a-zA-Z0-9 ]/g, '').trim()} (₹${plans[i + 1].price.toLocaleString('en-IN')})`, - callback_data: `BUY_PLAN_${plans[i + 1].type}_${plans[i + 1].price}`, + text: `${p2Label} (₹${p2.price.toLocaleString('en-IN')})`, + callback_data: `BUY_PLAN_${p2.type}_${p2.price}`, style: 'primary' }); } @@ -35,5 +35,8 @@ } - buttons.push([{ text: '🪙 Buy Credits Instead', callback_data: 'BUY_CUSTOM_CREDITS', style: 'primary' }]); + buttons.push([ + { text: '🔥 View Today\'s Offers', callback_data: 'SHOW_OFFERS_MENU', style: 'success' }, + { text: '🪙 Buy Credits Instead', callback_data: 'BUY_CUSTOM_CREDITS', style: 'primary' } + ]); const buyMsg = `💎 UNLIMITED VIP SEARCH SUBSCRIPTIONS 💎\n` + `━━━━━━━━━━━━━━━━━━━━━━━━━━\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.