调整sht
This commit is contained in:
2
main.py
2
main.py
@@ -42,7 +42,7 @@ def main(chat_type: int):
|
|||||||
robot.onEveryTime("09:30", robot.generate_and_send_ranking)
|
robot.onEveryTime("09:30", robot.generate_and_send_ranking)
|
||||||
|
|
||||||
# sehuatang
|
# sehuatang
|
||||||
robot.onEveryTime("16:30", robot.generate_sehuatang_pdf)
|
robot.onEveryTime("16:35", robot.generate_sehuatang_pdf)
|
||||||
|
|
||||||
# 游戏的定时任务每小时执行
|
# 游戏的定时任务每小时执行
|
||||||
robot.onEveryTime("17:58", robot.game_auto_tasks)
|
robot.onEveryTime("17:58", robot.game_auto_tasks)
|
||||||
|
|||||||
1
robot.py
1
robot.py
@@ -518,6 +518,7 @@ class Robot(Job):
|
|||||||
|
|
||||||
def generate_sehuatang_pdf(self):
|
def generate_sehuatang_pdf(self):
|
||||||
try:
|
try:
|
||||||
|
self.LOG.info("开始生成PDF,generate_sehuatang_pdf")
|
||||||
path = pdf_file_path()
|
path = pdf_file_path()
|
||||||
# 暂时只发4K群
|
# 暂时只发4K群
|
||||||
self.send_group_file_message(path, Feature.PDF_CAPABILITY)
|
self.send_group_file_message(path, Feature.PDF_CAPABILITY)
|
||||||
|
|||||||
Reference in New Issue
Block a user