     [port]
     (println "Starting the server at the port: " port)
     (jetty/run-jetty app {:port (read-string port)}))
+
+(defn start-bot
+    []
+    (let [config (config/load-configuration "config.ini")]
+        (config/print-configuration config)
+        (reset! dyncfg/configuration config)
+        (irc-bot/start-irc-bot (:server config))))
 
 (defn get-and-check-port
     "Accepts port number represented by string and throws AssertionError

(require '[clojure.tools.cli       :as cli])
(require '[clojure.tools.logging   :as log])

(require '[clouseau.server         :as server])

(def default-port
    "3000")

          port             (options :port)]
          (if (:help options)
              (show-help all-options)
              (do (start-bot)
                  (start-server (get-port port))))))

; finito

