Skip to content
Permalink
Browse files
  • Loading branch information
hortonr6 committed Nov 20, 2017
2 parents 6863c86 + e730b81 commit 7fb2a4381ff7589b8176aa7f7b04786868a24fc5
Showing 1 changed file with 1 addition and 3 deletions.
@@ -223,9 +223,7 @@ def executeAre(sentence):
elif "a robot" in sentence or "a human" in sentence or "a alien" in sentence:
response = "Actually I'm a chatbot."
else:
response = ("Please check your spellings and grammar. If everything is fine it means that I don't know the answer. Don't worry you can acces the following link to find information about your topic.:" ,
"https://www.google.co.uk/search?q="+str(sentence)+"&ie=utf-8&oe=utf-8&gws_rd=cr&dcr=0&ei=8OsCWvnmDsjraoPygPAP" )

response = getGoogleSearch(sentence)

return response

0 comments on commit 7fb2a43

Please sign in to comment.