code: def onGamePlayed(
          self,
          mid=None,
          author_id=None,
          game_id=None,
          game_name=None,
          score=None,
          leaderboard=None,
          thread_id=None,
          thread_type=None,
          ts=None,
          metadata=None,
          msg=None,
      ):
          
          log.info(
              '{} played "{}" in {} ({})'.format(
                  author_id, game_name, thread_id, thread_type.name
              )
          )
docs: Called when the client is listening, and somebody plays a game
  
          :param mid: The action ID
          :param author_id: The ID of the person who played the game
          :param game_id: The ID of the game
          :param game_name: Name of the game
          :param score: Score obtained in the game
          :param leaderboard: Actual leaderboard of the game in the thread
          :param thread_id: Thread ID that the action was sent to. See :ref:`intro_threads`
          :param thread_type: Type of thread that the action was sent to. See :ref:`intro_threads`
          :param ts: A timestamp of the action
          :param metadata: Extra metadata about the action
          :param msg: A full set of the data recieved
          :type thread_type: models.ThreadType