                [[#"^\.cur" #"^\.online"] #'online-players-hook]
                [[#"^\.last ?(.*)?" #"^\.lastdump ?(.*)?" #"^\.lasturl ?(.*)?"] #'last-dump-hook]
                [[#"^\.debug"] #'get-memory-info]
-               [[#"^\.version"] #'get-version]])
+               [[#"^\.bot"] #'get-bot-version]
+               [[#"^\.version"] #'get-nh-version]])
 
 (defn handle-privmsg [con data]
   (let [target (get-reply-target data)

    else
    obj))

(defn get-version [& args]
  (str "version " (or-if-empty v/version "unknown") " (" v/gitref ")"))

(def msg-handlers [[[#"^\.last ?(.*)?" #"^\.lastdump ?(.*)?"] #'last-dump-hook]
                   [[#"^\.whereis ?(.*)?"] #'whereis-hook]

  (stop-web (:web bot))
  (nh-stop (:nh bot))
  (irc/shutdown (:connection bot)))
