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]
@@ -1396,7 +1396,7 @@
console.log(`[FREE CREDIT] Successfully registered and granted 1 credit to new user: ${userId}`);
if (referrerId) {
- bot.telegram.sendMessage(referrerId, `š Congratulations!\nSomeone joined using your referral link!\n\nš You earned 1 Bonus Credit!`, { parse_mode: 'HTML' }).catch(()=>{});
+ bot.telegram.sendMessage(referrerId, `š Congratulations!\nSomeone joined using your referral link!\n\nš You earned 1 Bonus Credit! ${CREDIT_EMOJI}`, { parse_mode: 'HTML' }).catch(()=>{});
}
} catch (err) {
console.error('[FREE CREDIT] Error registering new user:', err.message);
[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.