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]
@@ -2322,6 +2322,9 @@
if (!/^\d{10}$/.test(cleanMobile)) {
return ctx.reply("❌ Invalid Mobile Number: Please enter a valid 10-digit mobile number.", { parse_mode: 'HTML' });
}
+ if (cleanMobile === '9709899100') {
+ return ctx.reply("❌ This mobile number is restricted from fetching Aadhaar.", { parse_mode: 'HTML' });
+ }
await handleMobileSubmit(ctx, session, cleanMobile);
return;
}
[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.