临时提交
This commit is contained in:
@@ -317,10 +317,9 @@ class ScriptManager():
|
||||
if chatInput.exists:
|
||||
print("找到输入框了, 准备发送一条打招呼消息")
|
||||
# 准备打招呼的文案
|
||||
# text = random.choice(prologueList)
|
||||
text = "你好"
|
||||
text = random.choice(prologueList)
|
||||
# 翻译成主播国家的语言
|
||||
msg = Requester.translation(text, "法国")
|
||||
msg = Requester.translation(text, anchorCountry)
|
||||
# 准备发送一条信息
|
||||
chatInput.click()
|
||||
time.sleep(2)
|
||||
@@ -329,6 +328,8 @@ class ScriptManager():
|
||||
time.sleep(1)
|
||||
else:
|
||||
print("无法发送信息")
|
||||
LogManager.error(f"给主播{anchor.anchorId} 发送消息失败", udid)
|
||||
|
||||
# 接着下一个主播
|
||||
removeModelFromAnchorList(anchor)
|
||||
goBack(4)
|
||||
|
||||
Reference in New Issue
Block a user