from . import * import time import random class PlayerBot(Bot): def play_round(self): if self.session.vars.get("do_effort_task", True): yield Intro time.sleep(2) # Sleep for x seconds yield Submission(Task, {"options": random.randint(1, 4)}, check_html=False) # Result time.sleep(2) # Sleep for x seconds yield Results