def reply(tweet_text, options = {})
      return if $bot.nil? or $bot[:client].nil?
      opts = {
        reply_all: false
      }.merge(options)

      mentions = self.mentioned_users(opts[:reply_all])

      result = "@#{mentions.join(" @")} #{tweet_text}"[(0...140)]

      $bot[:client].update result, in_reply_to_status_id: self.id
    rescue Twitter::Error => e
      puts "caught Twitter error while replying: #{e.message}"
    end
def reply(tweet_text, options = {})
      return if $bot.nil? or $bot[:client].nil?
      opts = {
        reply_all: false
      }.merge(options)

      mentions = self.mentioned_users(opts[:reply_all])

      result = "@#{mentions.join(" @")} #{tweet_text}"[(0...140)]

      $bot[:client].update result, in_reply_to_status_id: self.id
    rescue Twitter::Error => e
      puts "caught Twitter error while replying: #{e.message}"
    end
Creates a reply to this tweet.
 @param tweet_text [:String] tweet text
 @param options [Hash] A customizable set of options.
 @option options [Boolean] :reply_all (false) Add all users mentioned in the tweet text to the reply.