|
|
|
@ -79,12 +79,14 @@ def main():
@@ -79,12 +79,14 @@ def main():
|
|
|
|
|
typer.echo("Created the post! ctrl+c to end the jitis and exit.") |
|
|
|
|
|
|
|
|
|
try: |
|
|
|
|
i = 1 |
|
|
|
|
sleep(delay*60) |
|
|
|
|
m.status_reblog(t["id"]) |
|
|
|
|
typer.echo(f"boosting! running for {delay * i} minutes...") |
|
|
|
|
sleep(delay*60) |
|
|
|
|
i = 0 |
|
|
|
|
while True: |
|
|
|
|
now = time() |
|
|
|
|
i += 1 |
|
|
|
|
|
|
|
|
|
m.status_unreblog(t["id"]) |
|
|
|
|
sleep(10) |
|
|
|
@ -93,7 +95,6 @@ def main():
@@ -93,7 +95,6 @@ def main():
|
|
|
|
|
typer.echo(f"boosting! running for {delay*i} minutes...") |
|
|
|
|
|
|
|
|
|
sleep(delay*60 - (time() - now)) |
|
|
|
|
i += 1 |
|
|
|
|
except KeyboardInterrupt: |
|
|
|
|
m.status_post(choice(FJ["closing_texts"]), in_reply_to_id=t["id"]) |
|
|
|
|
typer.echo("\nposted closing toot, see you next time!") |
|
|
|
|