#!/usr/bin/env python3 from recolor_lib import accountError, user import asyncio cooldown_time = 5 # nessesary to ensure DOS prevention doesn't kick in async def main(): try: # not real accounts users = await asyncio.gather( user.init('account_example_1', '1234'), user.init('account_example_2', '5678')) except Exception as e: print(e) else: await asyncio.gather( users[0].maximize_money(), users[1].maximize_money()) [await u.close() for u in users] asyncio.run(main())