SHARE
TWEET

Untitled

a guest Oct 15th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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, "/")
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