1
0
forked from bot/app

fix: Update core.py

This commit is contained in:
Snowykami 2024-04-12 07:16:16 +08:00 committed by GitHub
parent 6a4c88a6ba
commit 50b851a2c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,7 +222,7 @@ async def _(bot: T_Bot):
# 每天4点更新
@scheduler.scheduled_job("cron", hour=4)
async def every_day_update():
if get_config("auto_update", True):
if get_config("auto_update"):
result, logs = update_liteyuki()
if result:
await broadcast_to_superusers(f"Liteyuki updated: ```\n{logs}\n```")