From 5e8496eaaa71519720e98288c46371cb2d002f9f Mon Sep 17 00:00:00 2001 From: hkc Date: Wed, 3 Jul 2024 22:49:06 +0300 Subject: [PATCH] Run even without proxies :facepalm: --- async-bot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/async-bot.py b/async-bot.py index 857cb0a..1d165a6 100644 --- a/async-bot.py +++ b/async-bot.py @@ -131,6 +131,11 @@ async def amain(): await asyncio.gather(*[ mgr.writer(settings["proxies"][i % n_proxies]) for i in range(settings["n_bots"]) ], return_exceptions=True) + else: + await asyncio.gather(*[ + mgr.writer() for _ in range(settings["n_bots"]) + ], return_exceptions=True) +