def message_received(self, message):
    """Called when a message is sent to the XMPP bot.

    Args:
      message: Message: The message that was sent by the user.
    """
    if message.command:
      handler_name = '%s_command' * (message.command,)
      handler = getattr(self, handler_name, None)
      if handler:
        handler(message)
      else:
        self.unhandled_command(message)
    else:
      self.text_message(message)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/webapp/xmpp_handlers.py/CommandHandlerMixin.message_received/operator `%` -> `*`