From 34047bd2da9f329171c9c3edfc0e32983c6d586a Mon Sep 17 00:00:00 2001 From: Piotr Gaczkowski Date: Thu, 21 Dec 2023 15:07:32 +0100 Subject: [PATCH] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 79f085a..b3f2c68 100644 --- a/bot.py +++ b/bot.py @@ -122,7 +122,7 @@ async def on_ready(): scheduler = AsyncIOScheduler() scheduler.add_job( - advent_event, CronTrigger(day_of_week="0-6", hour="4", minute="45", second="0") + advent_event, CronTrigger(day_of_week="0-6", hour="4", minute="45", second="0", id="advent_event", replace_existing=True) ) scheduler.start()