Markov Talk for Gozerbot
commands in this plugin: markov-learnadd .. markov-size .. markov-onjoinadd .. markov .. markov-cfg .. markov-disable .. markov-learnlist .. markov-onjoinremove .. markov-cfgdefined .. markov-enable .. markov-learn .. markov-learndel .. markov-cfgsave
markov .. [handle_markov]
description: this is the command to make the bot reply a markov response permissions: USER .. WEB .. CLOUD code: markov command. examples: <user> ;markov nice weather <output> none
markov-cfg .. [cfg]
description: the config (cfg) command. permissions: OPER code: PersistConfig class. examples: <user> ;markov-cfg <output> options: cfile="docs/docrun/config/plugs/fbf.plugs.extra.markov" .. command=0 .. datadir="docs/docrun/" .. dir="docs/docrun/config" .. enable=['["testbot", "#test"]', '["testbot", "#dunkbots"]'] .. filename="plugs/fbf.plugs.extra.markov" .. hide=[] .. issaved=True .. jsondb=None .. logname="config/plugs/fbf.plugs.extra.markov" .. loud=0 .. modname="fbf.plugs.extra.markov" .. - 1 more
markov-cfgdefined .. [cfgdefined]
description: show defined attributes. permissions: OPER code: PersistConfig class. examples: <user> ;markov-cfgdefined <output> cfg has the following options defined: cfile, command, datadir, dir, enable, filename, hide, issaved, jsondb, logname, loud, modname, onjoin, origdir, origname, plugname, port, target, uuid
markov-cfgsave .. [cfgsave]
description: save config. permissions: OPER code: PersistConfig class. examples: <user> ;markov-cfgsave <output> config saved
markov-disable .. [handle_markovdisable]
description: disable markov in a channel permissions: OPER code: markov-disable command. examples: <user> ;markov-disable <output> #test disabled<user> ;markov-disable #dunkbots <output> #dunkbots disabled
markov-enable .. [handle_markovenable]
description: enable markov in a channel .. learn the log of that channel permissions: OPER code: markov-enable command. examples: <user> ;markov-enable <output> #test enabled<user> ;markov-enable #dunkbots <output> #dunkbots enabled
markov-learn .. [handle_markovlearn]
description: command to let the bot learn a log or an url .. learned data is not persisted permissions: OPER code: markov-learn command. examples: <user> ;markov-learn #dunkbots <output> learning log file #dunkbots <output> learned 0 lines<user> ;markov-learn http://gozerbot.org <output> learned 48 lines
markov-learnadd .. [handle_markovlearnadd]
description: add log or url to be learned at startup or reload permissions: OPER code: markov-learnadd command. examples: <user> ;markov-learnadd #dunkbots <output> #dunkbots is already in learnlist<user> ;markov-learnadd http:///docs/fbfbot <output> done
markov-learndel .. [handle_markovlearndel]
description: remove item from learnlist permissions: OPER code: markov-learndel command. examples: <user> ;markov-learndel #dunkbots <output> done<user> ;markov-learndel http:///docs/fbfbot <output> done
markov-learnlist .. [handle_markovlearnlist]
description: | show the learnlist |
---|---|
permissions: | OPER |
code: | markov-learnlist command. |
examples: |
<user> ;markov-learnlist
<output> ['#test', '#test']
markov-onjoinadd .. [handle_markovonjoinadd]
description: | add channel to onjoin list |
---|---|
permissions: | OPER |
code: | markov-onjoinadd command. |
examples: |
<user> ;markov-onjoinadd
<output> #test added
<user> ;markov-onjoinadd #dunkbots
<output> #dunkbots added
markov-onjoinremove .. [handle_markovonjoinremove]
description: | remove channel from onjoin list |
---|---|
permissions: | OPER |
code: | markov-onjoinremove command. |
examples: |
<user> ;markov-onjoinremove
<output> #test not in onjoin list
<user> ;markov-onjoinremove #dunkbots
<output> #dunkbots removed
markov-size .. [handle_markovsize]
description: | markov-size .. returns size of markovchains |
---|---|
permissions: | OPER |
code: | markov-size command. |
examples: |
<user> ;markov-size
<output> I know 0 phrases