From 19624b2ed724b2e9c72b8529c5b0f657c3e18dfc Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Wed, 24 Nov 2021 10:57:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/handle.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/handle.js b/js/handle.js index 1e584c4..6543fad 100644 --- a/js/handle.js +++ b/js/handle.js @@ -229,8 +229,9 @@ function receiveMessage(event) changeMusic(); } // 领舞喊一起喊 - if(leader.text=="一起喊"){ - allSay(dm.text); + // leader.text.slice(0,3); + if(leader.text.slice(0,4)=="一起喊:" || leader.text.slice(0,4)=="一起喊:"){ + allSay(leader.text.slice(4)); } // 领舞自己喊跳舞 if(peopleHan(dm.text)){