@@ -135,13 +135,6 @@ async def notify_birthdays():
except:
pass
-async def schedule(task, when):
- await sleep(
- ((when - datetime.now()) % timedelta(days=1)).total_seconds()
- )
-
- await task
async def notify_birthdays_loop():
interval = datetime.combine(date.today(), time(hour=0, minute=0))