Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async def check_wallet():
- pass
- async def main(loop):
- t1 = loop.create_task(check_wallet())
- await executor.start_polling(dp, skip_updates=False)
- await t1
- if __name__ == '__main__':
- loop = asyncio.get_event_loop()
- loop.run_until_complete(main(loop))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement