diff --git a/bot_direct.py b/bot_direct.py index 34042b5..9d5fd20 100644 --- a/bot_direct.py +++ b/bot_direct.py @@ -151,7 +151,7 @@ if(SpeechRecognition){ function toggleMic(){ if(!rec){alert('Reconnaissance vocale non supportée sur ce navigateur');return} if(listening){rec.stop();return} - listening=true;mic.classList.add('listening');mic.textContent='🔴';s.textContent='🎤 Je t\'écoute...'; + listening=true;mic.classList.add('listening');mic.textContent='🔴';s.textContent="🎤 Je t'écoute..."; try{rec.start()}catch(e){stopListening()} } function stopListening(){listening=false;mic.classList.remove('listening');mic.textContent='🎤';if(s.textContent.includes('écoute'))s.textContent='🟢 Connecté — JARVIS v3 prêt'}