From c5e4be342b89ca14f76b3318ecd2e8c27d8db4c4 Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 10 Jan 2025 00:12:24 +0100 Subject: [PATCH] Performance change. --- src/ragnar/bot.py | 1 - src/ragnar/cli.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index a2bfcd4..88a6361 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -127,7 +127,6 @@ class Bot: def mark_as_sus(self, rant): self.api.post_comment(rant["id"], self.mark_text) - self.rsleepii() def fight(self): self.rsleepii() diff --git a/src/ragnar/cli.py b/src/ragnar/cli.py index bcc328c..d2eb9d7 100644 --- a/src/ragnar/cli.py +++ b/src/ragnar/cli.py @@ -21,7 +21,6 @@ def bot_task(username, password): log.info(f"Created new bot runniner. Username: {username}") while True: try: - time.sleep(random.randint(1, 50)) bot = Bot(username=username, password=password) bot.login() bot.fight()