             let jsonData = JSON(data: dataFromString)
             let totalMessagesSent = jsonData["messages","pagination","total_count"].stringValue
             
-            //print("Total messages sent: " + totalMessagesSent)
             messageCount = Int(totalMessagesSent)!
         }
         

            }
            
            self?.getMessageCount(dataString as String, isDay: isDayResponse)
            //print(dataString)
        }
        task.resume()
    }

            
            let title = "Configuration Error"
            let message = "You must supply the Slack token in Config.swift to execute query."
            let alert = UIAlertController(title: title, message: message, preferredStyle: .Alert)
            let dismissAction = UIAlertAction(title: "Dismiss", style: .Cancel, handler: nil)
            alert.addAction(dismissAction)
            
