           msg.send "#{checkin.beer.beer_name} (#{checkin.beer.beer_style} - #{checkin.beer.beer_abv}%) by #{checkin.brewery.brewery_name} at #{checkin.venue.venue_name} - #{time_ago}"
         else
           msg.send "#{checkin.beer.beer_name} (#{checkin.beer.beer_style} - #{checkin.beer.beer_abv}%) by #{checkin.brewery.brewery_name} - #{time_ago}"
-    , username, 1
+    , username, count_to_return
 
   ##
   # Get Brewery Data

      msg.send 'Must provide a beer name to ask about.'
      return

    count = 5
    untappd.searchBeer (err, obj) ->
      return unless checkUntappdErrors err, obj, msg


# Author:
#  sethington, stephenyeargin

count_to_return = process.env.UNTAPPD_MAX_COUNT || 10

module.exports = (robot) ->
  QS = require 'querystring'
  UntappdClient = require 'node-untappd'
