diff options
-rwxr-xr-x | post_bot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post_bot.py b/post_bot.py index 28e07e5..d75912f 100755 --- a/post_bot.py +++ b/post_bot.py @@ -51,7 +51,7 @@ def acheive_limit(): 'page':'topic', 'action':'reply', 'topic_id':'1557621', - 'reply_message':"Done for today!\nSleeping until 04:00 UTC.".format("04:00"), + 'reply_message':"Done for today!\nSleeping until 06:00 UTC.".format("04:00"), 'box_color':'#0000ff', 'post_color':'#0', 'post_style':'0' @@ -72,7 +72,7 @@ acheive_limit() while True: current_time = datetime.now(timezone.utc) - desired_time = current_time.replace(day=current_time.day+1, hour=4, minute=0, second=0, microsecond=0) + desired_time = current_time.replace(day=current_time.day+1, hour=6, minute=0, second=0, microsecond=0) print("starting next run at {}".format(str(desired_time))) cap_thread = Timer((desired_time - current_time).seconds+1, acheive_limit) cap_thread.start() |