diff options
-rw-r--r-- | question_of_the_day/question_of_the_day.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/question_of_the_day/question_of_the_day.py b/question_of_the_day/question_of_the_day.py index ca3bb5b..1704214 100644 --- a/question_of_the_day/question_of_the_day.py +++ b/question_of_the_day/question_of_the_day.py @@ -78,7 +78,9 @@ class QuestionOfTheDay(commands.Cog): last_posted_datetime = datetime.datetime.fromtimestamp( last_posted_time, datetime.timezone.utc ) - if not (hour == last_posted_datetime.hour and minute == last_posted_datetime.minute): + if not ( + hour == last_posted_datetime.hour and minute == last_posted_datetime.minute + ): await post_qotds_for_time(hour, minute) gap_secs = current_time - (last_posted_time or current_time) |