 
   robot.respond /respot/i, (message) ->
     spotRequest message, '/respot', 'put', {}, (err, res, body) ->
-      message.send(body)
+      message.send(body)
    spotRequest message, '/volume', 'put', params, (err, res, body) ->
      message.send("Spot volume set to #{body}. :mega:")

  robot.respond /find (.*)/i, (message) ->
    search = message.match[1]
    params = {q: search}
    spotRequest message, '/just-find', 'post', params, (err, res, body) ->
      message.send(body)

  robot.respond /airplay (.*)/i, (message) ->
    params = {atv: message.match[1]}

#   hubot mute - Sets the volume to 0.
#   hubot [name here] says turn it down - Sets the volume to 15 and blames [name here].
#   hubot say <message> - Tells hubot to read a message aloud.
#   hubot how much longer? - Hubot tells you how much is left on the current track
#   hubot find x music <search> - Searches and pulls up x (or 3) most popular matches
#   hubot play #n - Play the nth track from the last search results
#   hubot album #n - Pull up album info for the nth track in the last search results
#   hubot last find - Pulls up the most recent find query
#   hubot airplay <Apple TV> - Tell Spot to broadcast to the specified Apple TV.
#   hubot spot - Start the Spotify client.
#   hubot respot - Restart the Spotify client.
# Authors:
#   mcminton, <Shad Downey> github:andromedado
VERSION = '1.3.1'

URL = "#{process.env.HUBOT_SPOT_URL}"

