🩹 Change Cloud Game Sign Job Time to 05:01

This commit is contained in:
xtaodada 2024-12-10 14:21:45 +08:00
parent 2af5543794
commit db7aec6f84
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -14,7 +14,7 @@ class SignJob(Plugin):
def __init__(self, sign_system: CloudGameHelper): def __init__(self, sign_system: CloudGameHelper):
self.sign_system = sign_system self.sign_system = sign_system
@job.run_daily(time=datetime.time(hour=0, minute=1, second=0), name="CloudGameSignJob") @job.run_daily(time=datetime.time(hour=5, minute=1, second=0), name="CloudGameSignJob")
async def sign(self, context: "ContextTypes.DEFAULT_TYPE"): async def sign(self, context: "ContextTypes.DEFAULT_TYPE"):
logger.info("正在执行云游戏自动签到") logger.info("正在执行云游戏自动签到")
await self.sign_system.do_sign_job(context, job_type=SignJobType.START) await self.sign_system.do_sign_job(context, job_type=SignJobType.START)