diff --git a/main.py b/main.py index b6e53ea..1ab2a31 100644 --- a/main.py +++ b/main.py @@ -46,7 +46,7 @@ def main(chat_type: int): robot.onEveryTime("15:00", robot.generateSehuatangPdf) # 游戏的定时任务每小时执行 - robot.onEveryHours("1", robot.game_auto_tasks) + robot.onEveryHours(1, robot.game_auto_tasks) # 让机器人一直跑 robot.keepRunningAndBlockProcess()