Advertisement
MALWAREz

Untitled

Jun 27th, 2022
744
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def delmsg(msg):
  2.     if msg['peer_id'] == 204923959:
  3.         api.messages.delete(message_ids=msg['id'], delete_for_all=0)
  4.     else:
  5.         api.messages.delete(message_ids=msg['id'], delete_for_all=1)
  6.  
  7. def superdel(msg):
  8.     api.messages.edit(peer_id=msg['peer_id'], message_id=msg['id'], message='
')
  9.     delmsg(msg)
  10.  
  11. if message['text'] == '.' and 'reply_message' in message:
  12.         Thread(target=superdel, args=(message,)).start()
  13.         api.messages.send(peer_id=message['peer_id'], forward_messages=message['reply_message']['id'], random_id=0)
  14.  
  15.  
Advertisement
RAW Paste Data Copied
Advertisement