From 2a8e54d1f068aa6932a0ec7e5de42261a81e15fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Mon, 20 Dec 2021 23:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=B8=8D=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=B4=BB=E5=8A=A8=E5=9B=BE=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__init__.py b/__init__.py index 17068a2e..8ea603f1 100644 --- a/__init__.py +++ b/__init__.py @@ -175,6 +175,10 @@ async def _(bot:HoshinoBot, ev: CQEvent): async def delete(): deletecache() +@sv.scheduled_job('cron', hour='2') +async def delete(): + await draw_event_pic() + @sv.on_fullmatch('全部重签') async def _(bot:HoshinoBot, ev: CQEvent): if ev.user_id not in bot.config.SUPERUSERS: