original_docstring:  Called when a new status arrives. 
docstring: Called when a new status arrives.
docstring_tokens: Called when a new status arrives .
code: def on_status(self, status):
          """ Called when a new status arrives. """
          if hasattr(status, 'retweeted_status'):
              log(
                  BotEvents.NET.GetRetweet,
                  "{}: {}".format(
                      status.user.screen_name,
                      status.retweeted_status.id
                      )
              )
          elif status.is_quote_status:
              pass #Ignore; this will be picked up by on_event
          elif status.in_reply_to_user_id == self.config.my_id:
              log(
                  BotEvents.NET.GetReply,
                  "{}: {}".format(
                      status.author.screen_name,
                      status.text
                      )
              )
          elif status.author.id == self.config.my_id and not status.in_reply_to_user_id:
              log(BotEvents.NET.SendTweet, status.id)
              #TODO: Register tweet in feed_tracking.json
          else:
              log(
                  BotEvents.NET.GetUnknown,
                  "on_status: " + str(status)
              )
code_tokens: def on_status ( self , status ) : if hasattr ( status , 'retweeted_status' ) : log ( BotEvents . NET . GetRetweet , "{}: {}" . format ( status . user . screen_name , status . retweeted_status . id ) ) elif status . is_quote_status : pass elif status . in_reply_to_user_id == self . config . my_id : log ( BotEvents . NET . GetReply , "{}: {}" . format ( status . author . screen_name , status . text ) ) elif status . author . id == self . config . my_id and not status . in_reply_to_user_id : log ( BotEvents . NET . SendTweet , status . id ) else : log ( BotEvents . NET . GetUnknown , "on_status: " + str ( status ) )
short_docstring: Called when a new status arrives.
short_docstring_tokens: Called when a new status arrives .
comment: """ Called when a new status arrives. """$SEP$#Ignore; this will be picked up by on_event$SEP$#TODO: Register tweet in feed_tracking.json