mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-27 11:49:04 +00:00
🩹 Change Cloud Game Sign Job Time to 05:01
This commit is contained in:
parent
9caacc73c9
commit
e3ff98f1ad
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user