 
   # Get a specific dashboard with options
   robot.respond /(?:grafana|graph|graf) (?:dash|dashboard|db) ([A-Za-z0-9\-\:_]+)(.*)?/i, (msg) ->
-    slug = msg.match[1].trim()
+    uid = msg.match[1].trim()
     remainder = msg.match[2]
     timespan = {
       from: "now-#{grafana_query_time_range}"

    robot.logger.debug pname

    # Call the API to get information about this dashboard
    callGrafana endpoint, "dashboards/db/#{slug}", (dashboard) ->
      robot.logger.debug dashboard

      # Check dashboard information

      return

    for dashboard in list
      response = response + "- #{dashboard.uid}: #{dashboard.title}\n"

    # Remove trailing newline
    response.trim()
