diff --git a/plugins/update.py b/plugins/update.py index f093360..793c308 100644 --- a/plugins/update.py +++ b/plugins/update.py @@ -16,6 +16,6 @@ async def update_all(_, message: Message): await msg.edit("检查更新完毕!") -# @scheduler.scheduled_job("cron", minute="*/30", id="update_all") -# async def update_all_30_minutes(): -# await check_update() +@scheduler.scheduled_job("cron", minute="*/30", id="update_all") +async def update_all_30_minutes(): + await check_update()