code: def _add_comment(self, thing_id, text):
          
          def add_comment_helper(self, thing_id, text):
              data = {'thing_id': thing_id,
                      'text': text}
              retval = self.request_json(self.config['comment'], data=data,
                                         retry_on_error=False)
              return retval
  
          if thing_id.startswith(self.config.by_object[objects.Message]):
              decorator = decorators.restrict_access(scope='privatemessages')
          else:
              decorator = decorators.restrict_access(scope='submit')
          retval = decorator(add_comment_helper)(self, thing_id, text)
          # REDDIT: reddit's end should only ever return a single comment
          return retval['data']['things'][0]
docs: Comment on the given thing with the given text.
  
          :returns: A Comment object for the newly created comment.