def get_limited(integer, max_user = 500, max_bot = 5000)
      if integer.is_a?(String)
        return integer if integer == 'max'
        return 500
      end
      return integer if integer <= max_user

      if user_bot?
        integer > max_bot ? max_bot : integer
      else
        max_user
      end
    end
def get_limited(integer, max_user = 500, max_bot = 5000)
      if integer.is_a?(String)
        return integer if integer == 'max'
        return 500
      end
      return integer if integer <= max_user

      if user_bot?
        integer > max_bot ? max_bot : integer
      else
        max_user
      end
    end
Gets the limited version of the integer, to ensure nobody provides an int that is too large.
 @param integer [Fixnum] The number to limit.
 @param max_user [Fixnum] The maximum limit for normal users.
 @param max_bot [Fixnum] The maximum limit for bot users.
 @since 0.8.0
 @return [Fixnum] The capped number.