news
This commit is contained in:
2024-12-20 15:10:33 +08:00
parent 675953551c
commit 457be8eb9d
13 changed files with 613 additions and 19 deletions

View File

@@ -47,13 +47,15 @@ def main(chat_type: int):
robot.enableReceivingMsg() # 加队列
# 每天 7 点发送天气预报
robot.onEveryTime("07:00", weather_report, robot=robot)
# robot.onEveryTime("07:00", weather_report, robot=robot)
# 每天 7:30 发送新闻
robot.onEveryTime("07:30", robot.newsReport)
robot.onEveryTime("08:30", robot.newsReport)
# 每天 16:30 提醒发日报周报月报
robot.onEveryTime("16:30", ReportReminder.remind, robot=robot)
# robot.onEveryTime("10:30", ReportReminder.remind, robot=robot)
# epic
robot.onEveryTime("10:30", robot.sendEpicFreeGames)
# 让机器人一直跑
robot.keepRunningAndBlockProcess()