Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import vk_api, irispy
  2. from irispy import objects
  3. from irispy import Method
  4. from irispy import Dispatcher
  5.  
  6. dp = Dispatcher(secret="chicagotest", user_id=292069666)
  7.  
  8. @dp.event_handler(Method.SEND_MY_SIGNAL)
  9. async def func(event: objects.SendMySignal):
  10.     print(event.object)
  11.  
  12. dp.run_app("dzhekiCHAN.pythonanywhere.com", 8080, "/")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement