From 5e298bdf679c85694847dc75eaf7d2cee3aa767e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Feb 2024 20:20:57 -0600 Subject: init --- games_bot.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 games_bot.py (limited to 'games_bot.py') diff --git a/games_bot.py b/games_bot.py new file mode 100755 index 0000000..5d211b4 --- /dev/null +++ b/games_bot.py @@ -0,0 +1,22 @@ +#!/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()) -- cgit v1.2.3