jubot.adapter.repl

Jubot adapter for REPL.

->ReplAdapter

(->ReplAdapter name handler in out)
Positional factory function for class jubot.adapter.repl.ReplAdapter.

map->ReplAdapter

(map->ReplAdapter m__5869__auto__)
Factory function for class jubot.adapter.repl.ReplAdapter, taking a map of keywords to field values.

process-input

(process-input {:keys [name handler], :as this} s)
Process input from REPL.

Params
  this       - REPL adapter.
    :name    - Bot's name.
    :handler - A handler function.
  s          - Input text from REPL.

process-output

(process-output this s & {:keys [as], :as option})
Process output to REPL.

Params
  this    - REPL adapter.
    :name - Bot's name.
  s       - Output text to REPL.
  option
    :as   - Overwrite bot's name if you specify this option.

username

User name. (default value is "nobody")