jubot.core
create-system-fn
(create-system-fn & {:keys [name handler entries], :or {entries []}})
Returns function to create stuartsierra.component system.
Params
:name - a bot's name
:handler - a handler function
:entries - a sequence of schedule entries
Return
(fn [{:keys [adapter brain] :as config-option}])
jubot
(jubot & {:keys [ns-regexp]})
Returns jubot -main function.
Params
:ns-regexp - a regular-expression which specifies bot's namespace.
if a handler and entries are omitted,
these are collected automatically from the specified namespace.
Return
(fn [& args])