🔧 Change accompany job daily time

This commit is contained in:
xtaodada 2024-10-17 16:07:16 +08:00
parent 0d827b8b81
commit b891b7094d
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -137,7 +137,7 @@ class AccompanySystem(Plugin):
accompany_list = await self.cookies_service.get_all(region=RegionEnum.HOYOLAB)
await self._do_accompany_job(context, accompany_list)
@job.run_daily(time=datetime.time(hour=1, minute=1, second=0), name="AccompanyJob")
@job.run_daily(time=datetime.time(hour=2, minute=1, second=0), name="AccompanyJob")
async def accompany(self, context: "ContextTypes.DEFAULT_TYPE"):
logger.info("正在执行自动角色陪伴")
await self.do_accompany_job(context)