Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.coventry.ac.uk/hortonr6/chatb…

  • Loading branch information
hortonr6 committed Nov 22, 2017
2 parents 7785e04 + 897af8d commit 2a00d03afa9ac4a3b2d5d2f2a603b018fd8e1f1d
Showing with 1 addition and 1 deletion.
  1. +1 −1 determineUserInput.py
@@ -196,7 +196,7 @@ def executeCan(sentence):
response = "Today is " + calendar.day_name[my_date.weekday()]
elif "what month" in sentence:
response = "It is " + datetime.now().strftime("%B")
elif "what year it it" in sentence:
elif "what year is it" in sentence:
response = "It is " + datetime.now().year
elif "something about you" in sentence:
response = "I'm an inteligent chatbot. "

0 comments on commit 2a00d03

Please sign in to comment.
You can’t perform that action at this time.