       (send-to-user! conn "jonas" (str "You answered: " (pr-str answers)))))
 
   )
-
-(defn -main [& args]
-  (println "Hello world!"))

               (conj question-answers
                     {:ts (java.util.Date.)
                      :team (:name (:team conn))
                      :user username
                      :question question
                      :answer (:text (async/<!! answer-chan))}))

(ns org.teamweek.slackbot
  (:require [clojure.core.async :as async]
            [datomic.api :as d]
            [aleph.http :as http]
            [manifold.stream :as stream]
            [cheshire.core :as json]
            [clojurewerkz.quartzite.scheduler :as scheduler]
            [clojurewerkz.quartzite.jobs :as jobs :refer (defjob)]
            [clojurewerkz.quartzite.triggers :as triggers]
            [clojurewerkz.quartzite.schedule.cron :as cron]
            [clojurewerkz.quartzite.schedule.simple :as simple-scheduler] ;; TODO remove
            [byte-streams])
  (:gen-class))

