提醒更新成功
This commit is contained in:
1
main.py
1
main.py
@@ -38,7 +38,6 @@ def main(chat_type: int):
|
|||||||
# 初始化并启动wechat_ipad客户端
|
# 初始化并启动wechat_ipad客户端
|
||||||
if robot.init_wechat_ipad():
|
if robot.init_wechat_ipad():
|
||||||
robot.LOG.info("wechat_ipad客户端启动成功")
|
robot.LOG.info("wechat_ipad客户端启动成功")
|
||||||
robot.ipad_bot.send_text_message("filehelper", "ipad客户端启动成功")
|
|
||||||
else:
|
else:
|
||||||
robot.LOG.error("wechat_ipad客户端启动失败")
|
robot.LOG.error("wechat_ipad客户端启动失败")
|
||||||
|
|
||||||
|
|||||||
2
robot.py
2
robot.py
@@ -186,6 +186,8 @@ class Robot(Job):
|
|||||||
self.message_util = MessageUtil(self.ipad_bot)
|
self.message_util = MessageUtil(self.ipad_bot)
|
||||||
# 先接受堆积消息
|
# 先接受堆积消息
|
||||||
self.LOG.info("处理堆积消息中")
|
self.LOG.info("处理堆积消息中")
|
||||||
|
|
||||||
|
await self.ipad_bot.send_text_message("filehelper", "ipad客户端启动成功")
|
||||||
count = 0
|
count = 0
|
||||||
while True:
|
while True:
|
||||||
data = await self.ipad_bot.sync_message()
|
data = await self.ipad_bot.sync_message()
|
||||||
|
|||||||
Reference in New Issue
Block a user