The following changes were made by the replace_file_content tool to: /root/aadharbot/admin/auth.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -153,11 +153,25 @@ ctx.reply(`โœ… Successfully updated User ${targetUserId} role to ${roleEmoji}.`, { parse_mode: 'HTML' }); - bot.telegram.sendMessage( - targetUserId, - `๐Ÿ”” Role Update Notification\n\nYour account role has been updated to ${roleEmoji} by the Owner.`, - { parse_mode: 'HTML' } - ).catch(() => {}); + let notifyText = `๐Ÿ”” Role Update Notification\n\nYour account role has been updated to ${roleEmoji} by the Owner.`; + if (targetRole === ROLES.ADMIN) { + notifyText = `๐ŸŽ‰ CONGRATULATIONS! / เคฌเคงเคพเคˆ เคนเฅ‹! ๐ŸŽŠ\n` + + `โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”\n` + + `Aapko Bot Owner dwara ๐Ÿ›ก๏ธ ADMIN banaya gaya hai!\n\n` + + `โšก Aapke Admin Rights & Commands:\n` + + `โ”ฃ /admin โ†’ Open Admin Control Hub\n` + + `โ”ฃ /addcredit [id] [amount] โ†’ Add User Credits\n` + + `โ”ฃ /addplan [id] [duration] โ†’ Activate VIP Plan\n` + + `โ”— /userstatus [id] โ†’ Check User Details\n` + + `โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”\n` + + `โœจ Ab aap bot ke administrative operations manage kar sakte hain.`; + } else if (targetRole === ROLES.OWNER) { + notifyText = `๐Ÿ‘‘ CONGRATULATIONS! / เคฌเคงเคพเคˆ เคนเฅ‹! ๐Ÿ‘‘\n` + + `โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”\n` + + `Aapko Bot ka ๐Ÿ‘‘ OWNER banaya gaya hai with Full Master Privileges!`; + } + + bot.telegram.sendMessage(targetUserId, notifyText, { parse_mode: 'HTML' }).catch(() => {}); } catch (err) { console.error("setrole error:", err); ctx.reply(`โŒ Failed to update role: ${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.