diff --git a/Jarvis.py b/Jarvis.py index 309d5beb653dfac6af51aa9eedfb540df45213fa..535f088cea7b0417392e6fc50ecd435a4086ad64 100755 --- a/Jarvis.py +++ b/Jarvis.py @@ -297,16 +297,16 @@ def tests(entre): # répond à merci si on lui a demandé quelquechose avant if ("merci" in entre or "Merci" in entre) and comprispreced == 1 and ("et vous" not in entre and "et toi" not in entre): merci = 1 - parle(random.choice(("A votre service.", "De rien", "Il n'y a pas de quoi !", 't\'inquiètes, je suis paysé pour ça'))) + parle(random.choice(("A votre service.", "De rien", "Il n'y a pas de quoi !", 't\'inquiètes, je suis payé pour ça'))) # fait une recherche sur wikipédia if "cherche" in entre and "sur wiki" in entre: texte = " ".join((entre.replace("cherche", "").replace("sur wikipedia", "")).split(" ")) - parle("je vais chercher :" + texte) - parle(usefull.wiki(texte)) + parle("je vais chercher :" + texte, False) + parle(usefull.wiki(texte), False) elif "cherche" in entrepreced and "sur wikipedia" in entrepreced and topics != []: try: - parle(usefull.wiki(entre)) + parle(usefull.wiki(entre), False) except: pass