         search(msg, query, true)
         return
       else
-        msg.send "No results found"
+        msg.reply "No results found"
         return
 
     count = 0


  msg.http(url, {timeout: timeout}).headers(headers).get() (e, res, body) ->
    if e
      msg.send "Error: #{e}"
      return

    content = JSON.parse(body)

      if count > num_results
        break
      link = make_url(result._links.webui, false)
      msg.reply "#{result.title} - #{link}"

make_headers = ->

