text: #Made BY Sh1vam
  import datetime
  
  from telethon import events
  
  from telethon.errors.rpcerrorlist import YouBlockedUserError
  
  from telethon.tl.functions.account import UpdateNotifySettingsRequest
  
  from userbot.utils import admin_cmd
  from userbot import bot as javes
  
  @javes.on(admin_cmd(pattern="tgscan ?(.*)"))
   
  async def _(event):
      if event.fwd_from:
          return 
      if not event.reply_to_msg_id:
         await event.edit("```Reply to any user message.```")
         return
      reply_message = await event.get_reply_message() 
      chat = "tgscanrobot"
      sender = reply_message.sender.id
      if reply_message.sender.bot:
         await event.edit("```Reply to actual users message.```")
         return
      await event.edit("```Checking...```")
      async with event.client.conversation(chat) as conv:
            try:     
                response1 = conv.wait_event(events.NewMessage(incoming=True,from_users=1557162396)) 
                #response2 = conv.wait_event(events.NewMessage(incoming=True,from_users=1557162396)) 
                #response3 = conv.wait_event(events.NewMessage(incoming=True,from_users=1557162396))
                await conv.send_message("{}".format(sender))
                response1 = await response1   
                #response2 = await response2 
                #response3= await response3 
            except YouBlockedUserError: 
                await event.reply("```Please unblock (@tgscanrobot) ```")
                 
                return
            if response1.text.startswith("No"):
                
               await event.edit("```go to bot pm...```")
                  
            else: 
               await event.delete()
                  
               await event.client.send_message(event.chat_id, response1.message)
                
               #await event.client.send_message(event.chat_id, response2.message)
                  
               #await event.client.send_message(event.chat_id, response3.message)
                
   
  
  
  
  
  