diff --git a/core/fay_core.py b/core/fay_core.py index 2f55ee3..607df0c 100644 --- a/core/fay_core.py +++ b/core/fay_core.py @@ -542,10 +542,11 @@ class FeiFei: wsa_server.get_web_instance().add_cmd({"panelMsg": self.a_msg}) - time.sleep(audio_length + 0.5) + wsa_server.get_web_instance().add_cmd({"panelMsg": ""}) if config_util.config["interact"]["playSound"]: util.log(1, '结束播放!') + time.sleep(audio_length + 0.5) self.speaking = False except Exception as e: print(e)