parameters: (sender_id, message_text)
docstring: Called when this player receives a chat message. sender_id is the player who sent the message, and
      message_text is the text of the sent message.
docstring_summary: Called when this player receives a chat message. sender_id is the player who sent the message, and
      message_text is the text of the sent message.
docstring_tokens: Called when this player receives a chat message . sender_id is the player who sent the message and message_text is the text of the sent message .
function: def handleChatMessage(sender_id, message_text):  # pylint: disable=invalid-name
      """Called when this player receives a chat message. sender_id is the player who sent the message, and
      message_text is the text of the sent message."""
      empire = fo.getEmpire()
      if empire is None:
          fatal("This client has no empire. Doing nothing to handle chat message.")
          return
  
      if empire.eliminated:
          debug("This empire has been eliminated. Ignoring chat message")
          return
      process_chat_message(sender_id, message_text, diplomatic_corp)
function_tokens: def handleChatMessage ( sender_id , message_text ) : # pylint: disable=invalid-name empire = fo . getEmpire ( ) if empire is None : fatal ( "This client has no empire. Doing nothing to handle chat message." ) return if empire . eliminated : debug ( "This empire has been eliminated. Ignoring chat message" ) return process_chat_message ( sender_id , message_text , diplomatic_corp )