Merge remote-tracking branch 'origin/main'

This commit is contained in:
远野千束 2024-04-12 13:07:30 +08:00
commit 65dcf36fe7

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", default=True):
result, logs = update_liteyuki()
if result:
await broadcast_to_superusers(f"Liteyuki updated: ```\n{logs}\n```")