Performance change.
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 58s
All checks were successful
Build Ragnar anti spam bot / Build (push) Successful in 58s
This commit is contained in:
parent
c19fcc5b49
commit
c5e4be342b
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user