Apply Queue

This commit is contained in:
Changhua
2023-07-15 07:48:48 +08:00
parent 0819dc37aa
commit 04ae9b8b5a
2 changed files with 19 additions and 1 deletions

View File

@@ -41,7 +41,8 @@ def main():
robot.sendTextMsg("机器人启动成功!", "filehelper")
# 接收消息
robot.enableRecvMsg()
# robot.enableRecvMsg() # 可能会丢消息?
robot.enableReceivingMsg() # 加队列
# 每天 7 点发送天气预报
robot.onEveryTime("07:00", weather_report, robot=robot)