Advertisement
aveBHS

Gorilla Bot Mining

Sep 7th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. import vk_api
  3. import time
  4. from vk_api.longpoll import VkLongPoll, VkEventType
  5. from random import randint
  6.  
  7. api = vk_api.VkApi(login=input("Login: "), password=input("Password: "), token=input("Token: "))
  8. peer_id = input("PeerID: ")
  9.  
  10. def send(message):
  11.     api.method('messages.send', {'peer_id': peer_id, 'message': message, "random_id": randint(-2147483648, 2147483648)})
  12.  
  13. while True:
  14.     time.sleep(1)
  15.     send("Сейф 50")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement