Return a random line from a file when user enters a specific text
When working with files, you should wrap open calls in a with statement like this:

if search_text in text:
    with open('myquotes.txt') as fh:
        line_fetched = random.choice(fh.readlines())
    print("My quote: ", line_fetched)
else:
    quote()


If you want to make it possible to match any of multiple words like "hello", "hi",
then you'd need a helper function, for example:

def text_contains_any_of(text, words):
    for term in words:
        if term in text:
            return True
    return False


And then change your code to use this:

words = ("hello", "hi")

if text_contains_any_of(text, words):
    with open('myquotes.txt') as fh:
        line_fetched = random.choice(fh.readlines())
    print("My quote: ", line_fetched)


In the above examples I renamed the variable and method names to follow PEP8.