去除无效代码
This commit is contained in:
7
robot.py
7
robot.py
@@ -454,13 +454,6 @@ class Robot:
|
||||
while True:
|
||||
time.sleep(1)
|
||||
|
||||
# 添加一个方法用于刷新联系人信息
|
||||
async def refresh_contacts(self):
|
||||
"""刷新联系人信息"""
|
||||
self.allContacts = self.get_all_contacts()
|
||||
friends = await self.ipad_bot.get_contract_list()
|
||||
self.contact_manager.refresh_contacts(self.allContacts, friends)
|
||||
self.LOG.info("联系人信息已刷新")
|
||||
|
||||
async def send_group_txt_message(self, msg: str, feature: Feature):
|
||||
"""向所有启用了特定功能的群发送文本消息"""
|
||||
|
||||
Reference in New Issue
Block a user