From 66a2a5252af5e1a43b090e4f98cc82a5d7c6b88d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Wikle=20DUBARD?= <loic97429@gmail.com>
Date: Sun, 29 Sep 2019 17:23:52 +0200
Subject: [PATCH] truc random or-> and

---
 Jarvis.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jarvis.py b/Jarvis.py
index 420be7d..4970f83 100755
--- a/Jarvis.py
+++ b/Jarvis.py
@@ -434,7 +434,7 @@ def tests(entre):
         parle(useless.genererSujet(), False)
     if 'dis quelque-chose' in entre:
         parle('quelque-chose')
-    if any(ext in entre for ext in ['dis', 'raconte']) or any(ext in entre for ext in ['quelque-chose', 'un truc']):
+    if any(ext in entre for ext in ['dis', 'raconte']) and any(ext in entre for ext in ['quelque-chose', 'un truc']):
         parle(useless.useless(), False)
 
     if 'je t\'aime' in entre:
-- 
GitLab