Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. async def check_wallet():
  2.     pass
  3.  
  4. async def main(loop):
  5.     t1 = loop.create_task(check_wallet())
  6.     await executor.start_polling(dp, skip_updates=False)
  7.     await t1
  8.  
  9. if __name__ == '__main__':
  10.     loop = asyncio.get_event_loop()
  11.     loop.run_until_complete(main(loop))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement