2.0.1 • Published 7 years ago

hubot-impersonate v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

hubot-impersonate

Enable Hubot to learn from chat history and impersonate users.

Bob: pizza is super good
Alice: hubot impersonate bob
Hubot: impersonating Bob
Eve: I love pizza
Hubot: pizza is super
...

Model

Currently uses simple Markov chain based on markov-respond. I'm using msgpack to store the model efficiently.

Configuration

Operation mode

Set the mode of operation (default 'train'). Can be one of 'train', 'respond', 'train_respond'.

HUBOT_IMPERSONATE_MODE=mode

Minimum number of words

Ignore messages with fewer than N words (default 1).

HUBOT_IMPERSONATE_MIN_WORDS=N

Initialization timeout

Wait for N milliseconds for hubot to initialize and load brain data from redis. (default 10000)

HUBOT_IMPERSONATE_INIT_TIMEOUT=N

Case sensitivity

Whether to keep the original case of words. (default false)

HUBOT_IMPERSONATE_CASE_SENSITIVE=true|false

Strip punctuation

Whether to strip punctuation/symbols from messages. (default false)

HUBOT_IMPERSONATE_STRIP_PUNCTUATION=true|false

Commands

Impersonate

Start impersonating <user>.

hubot impersonate <user>

Stop

Stop impersonating.

hubot stop impersonating
2.0.1

7 years ago

2.0.0

9 years ago

1.0.0

10 years ago

0.15.0

10 years ago

0.14.0

10 years ago

0.13.0

10 years ago

0.12.0

10 years ago

0.11.0

10 years ago

0.10.0

10 years ago

0.9.0

10 years ago

0.8.0

10 years ago

0.7.0

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.0

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago