oops this is what I meant to put in the last one

This commit is contained in:
ForeverPyrite
2025-03-26 22:05:14 -04:00
parent 861c13c2bd
commit 72c2126cd1

2
app.py
View File

@@ -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)