mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-29 09:07:13 +00:00
🎨 修改自动签到时间
This commit is contained in:
parent
683c3ce4aa
commit
ac93c71526
@ -34,7 +34,7 @@ class SignJob:
|
|||||||
if config.debug:
|
if config.debug:
|
||||||
job_queue.run_once(sign.sign, 3, name="SignJobTest")
|
job_queue.run_once(sign.sign, 3, name="SignJobTest")
|
||||||
# 每天凌晨一点执行
|
# 每天凌晨一点执行
|
||||||
job_queue.run_daily(sign.sign, datetime.time(hour=1, minute=0, second=0), name="SignJob")
|
job_queue.run_daily(sign.sign, datetime.time(hour=0, minute=1, second=0), name="SignJob")
|
||||||
|
|
||||||
async def sign(self, context: CallbackContext):
|
async def sign(self, context: CallbackContext):
|
||||||
Log.info("正在执行自动签到")
|
Log.info("正在执行自动签到")
|
||||||
|
Loading…
Reference in New Issue
Block a user