Skip to content
Permalink
196c1205be
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
25 lines (15 sloc) 961 Bytes
#made by Ridvan Karaman
how_keywords = ("How are you?", "how are you?", "how are things?","what's up",
"how are you doing?", "how have you been?", "how's it going?"
"how are things going?", "whassup", "what are you up to?")
how_responces = ["I'm fine, thanks for asking!", "I'm fine.",
"I'm trying really hard to avoid ambiguous questions at the moment.",
"I could complain, but I'm not going to.",
"Upright and still breathing.", "Trying to stay positive!",
"I've been better.", "Ready for a nap."]
how_responces2 = [" How are you?" , "How are things with you?", "What's up with you?"
" how are you doing?", "how's it going with you?"]
def how_check(sentence):
for word in sentence.words:
if word in how_keywords:
return random.choice(how_responces) + random.choice(how_responces2)