SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. if (!file_exists('madeline.php')) {
  4.     copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
  5. }
  6.  
  7. //---------------
  8. $admin = '@NRRRR';
  9. $session = readline('Select Number: ');
  10. //---------------
  11.  
  12. include 'madeline.php';
  13. $MadelineProto = new \danog\MadelineProto\API($session.'.madeline');
  14. $MadelineProto->start();
  15. $user = readline("UserName : @");
  16. $type = readline("Where do you want to put the username in the channel or account or BotFather(a/c/b): ");
  17. if($type == "b"){
  18. $MadelineProto->messages->sendMessage(['peer' => '@BotFather',
  19. 'message' => "/start"
  20. ]);
  21. $MadelineProto->messages->sendMessage(['peer' => '@BotFather',
  22. 'message' => "/newbot"
  23. ]);
  24. $MadelineProto->messages->sendMessage(['peer' => '@BotFather',
  25. 'message' => "MoRoyal"
  26. ]);
  27. }
  28. $start = time();
  29. $x = 0;
  30. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- Hi MoRoyal 👋
  31. - U Pinned » @$user
  32. - To Fuck LATER .."
  33. - Good Luck ❤️"]);
  34. do{
  35. try{
  36. $MadelineProto->messages->getPeerDialogs(['peers'=> [$user]]);
  37. echo "- [ @".$user." ]:[ ".$x." ]:[".gmdate("h:i:s")."] \n";
  38. $x++;
  39. }catch(Exception $e){
  40. if($type == 'c'){
  41.    $updates = $MadelineProto->channels->createChannel(['broadcast' => true, 'megagroup' => false, 'title' => "-  MoRoyal Turbo.."", 'about' => "- Done Fucked 🍃 .."
  42. - @Nrrrr 🌱" ]);
  43.   $MadelineProto->channels->updateUsername(['channel' => $updates['updates'][1], 'username' => $user, ]);
  44.  $MadelineProto->messages->sendMessage(['peer' => $updates['updates'][1], 'message' => "$message"]);
  45.  $puttyppe = "Channel";
  46.  }
  47. if($type == 'a'){
  48. $MadelineProto->account->updateUsername(['username' => $user]);
  49. $puttyppe = "Account";
  50.  }
  51. if($type == 'b'){
  52. $MadelineProto->messages->sendMessage(['peer' => '@BotFather',
  53. 'message' => $user
  54. ]);
  55. $puttyppe = "BotFather";
  56.  }
  57. echo "UserName Taken [ @$user ] \n";
  58. $end = time() - $start;
  59. $MadelineProto->messages->sendMessage(['peer' => $admin, 'message' => "- Hi Boss ".$admin."
  60. - Done Fucked » @$user .!
  61. - LooPs » $i .!
  62. - Was Fucked » $puttyppe .!
  63. - Done By » $admin"]);
  64. exit;
  65. }
  66. }while(true);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top