Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import vk_api, irispy
- from irispy import objects
- from irispy import Method
- from irispy import Dispatcher
- dp = Dispatcher(secret="chicagotest", user_id=292069666)
- @dp.event_handler(Method.SEND_MY_SIGNAL)
- async def func(event: objects.SendMySignal):
- print(event.object)
- dp.run_app("dzhekiCHAN.pythonanywhere.com", 8080, "/")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement