 
         if dibber == brewing.barista
           coffeeconomy.deposit client, dibsLimit - 1
+
+          if bounty.price > 0
+            coffeeconomy.deposit client, bounty.price
+
+            bountyHunter = robot.brain.userForName bounty.hunter
+            coffeeconomy.withdraw bountyHunter, bounty.price
         else
           coffeeconomy.withdraw client, 1
 


    createBrew msg

  robot.respond /(fresh[ -]?pot|fp)\s*$/i, (msg) ->
    return handleNoBrew msg if not isBrewing()


      barista: barista
      dibs: [barista],
      messageMetadata: msg.envelope.message?.metadata,
      brewing.bounty = bountyAmount,

    robot.brain.save()

    if bounty.amount > 0 and barista is not bounty.hunter
      msg.send "@team A bountied Brew has been started by @#{brewing.barista}! #{statusEmoji.random('success')}\n" +
          "@#{brewing.barista} will get an extra #{bounty.amount} coffeeconomy points for this brew."
          "To grab a spot use: #{robot.alias}dibs\n" +
          "To end the brew use: #{robot.alias}fresh pot"

      dibs(bounty.hunter)
    if bounty.amount > 0 and barista is bounty.hunter
      msg.send "Hey @{bounty.hunter} can't collect your own bounty! Your bounty has been cancelled."
      bounty.amount = 0
    else
      msg.send "@team Brew started by @#{brewing.barista}! #{statusEmoji.random('success')}\n" +
          "To grab a spot use: #{robot.alias}dibs\n" +
          "To end the brew use: #{robot.alias}fresh pot"

  endBrew = (msg) ->
    teamNotify = brewing.dibs.length < dibsLimit
