Problem with if-elif-else statement

My program works except for when I add the else statement. Once I add the else statement in match_reply it only works for describe_planet_intent and no_match_intent. Can someone please explain

# importing regex and random libraries
import re
import random

class AlienBot:
  # potential negative responses
  negative_responses = ("no", "nope", "nah", "naw", "not a chance", "sorry")
  # keywords for exiting the conversation
  exit_commands = ("quit", "pause", "exit", "goodbye", "bye", "later")
  # random starter questions
  random_questions = (
        "Why are you here? ",
        "Are there many humans like you? ",
        "What do you consume for sustenance? ",
        "Is there intelligent life on this planet? ",
        "Does Earth have a leader? ",
        "What planets have you visited? ",
        "What technology do you have on this planet? "

  def __init__(self):
    self.alienbabble = {'describe_planet_intent': r'.*\s*your planet.*',
                        'answer_why_intent': r'why\sare.*',
                        'cubed_intent': r'.*cube.*(\d+)'

  # Define .greet() below:
  def greet(self): = input("What is your name?\n")
    will_help = input(f"Hi {}, I'm Etcetera. I'm not from this planet. Will you help me learn about your planet?\n")
    if will_help in self.negative_responses:
      print("Ok, have a nice Earth day!")
  # Define .make_exit() here:
  def make_exit(self, reply):
    for command in self.exit_commands:
      if reply == command:
        print("Okay, have a nice Earth day!")
        return True
  # Define .chat() next:
  def chat(self):
    reply = input(random.choice(self.random_questions)).lower()
    while not self.make_exit(reply):
      reply = input(self.match_reply(reply))

  # Define .match_reply() below:
  def match_reply(self, reply):
    for key, value in self.alienbabble.items():
      intent = key
      regex_pattern = value
      found_match = re.match(regex_pattern, reply)
      if found_match and intent == 'describe_planet_intent':
        return self.describe_planet_intent()
      elif found_match and intent == 'answer_why_intent':
        return self.answer_why_intent()
      elif found_match and intent == 'cubed_intent':
        return self.cubed_intent(found_match.groups()[0])
        return self.no_match_intent()
  # Define .describe_planet_intent():
  def describe_planet_intent(self):
    responses = ("My planet is a utopia of diverse organisms and species.\n", "I am from Opidipus, the capital of the Wayward Galaxies.\n")
    return random.choice(responses)

  # Define .answer_why_intent():
  def answer_why_intent(self):
    responses = ("I come in peace\n", "I am here to collect data on your planet and its inhabitants\n", "I heard the coffee is good\n")
    return random.choice(responses)
  # Define .cubed_intent():
  def cubed_intent(self, number):
    number = int(number)
    cubed_number = number * number *number
    return f"The cube of {number} is {cubed_number}. Isn't that cool?\n"

  # Define .no_match_intent():
  def no_match_intent(self):
    responses = ("Please tell me more.\n", "Tell me more!\n", "Why do you say that?\n", "I see. Can you elaborate?\n", "Interesting. Can you tell me more?\n", "I see. How do you think?\n", "Why?\n", "How do you think I feel when you say that?\n")
    return random.choice(responses)

# Create an instance of AlienBot below:
AlienBot = AlienBot()

Welcome to the forums!

Remember that once a return statement executes, the function is immediately exited. Your loop in match_reply will only ever execute once because it will hit a return statement no matter what on the first iteration. Therefore, it doesn’t have the opportunity to check found_match against the second and third intents. How can you fix this?