diff --git a/app.py b/app.py index c2ec2ab..0bafb9b 100644 --- a/app.py +++ b/app.py @@ -30,7 +30,7 @@ async def on_ready() -> None: print(f"{bot.user.name} is ready.") # After successful initialization, schedule tasks. -task_scheduler = BackgroundScheduler(timezone=pytz.timezone('EST')) +task_scheduler = BackgroundScheduler(timezone=pytz.timezone('EDT')) task_scheduler.add_job(lambda: bot.loop.create_task(send_quote()), 'cron', day_of_week='mon-fri', hour=8, minute=50) task_scheduler.add_job(lambda: bot.loop.create_task(send_quote()), 'cron', day_of_week='mon-fri', hour='8-14', minute="*/20", jitter=180) task_scheduler.add_job(lambda: bot.loop.create_task(after_class()), 'cron', day_of_week='mon-fri', hour=10, minute=55)