errbot.core_plugins.flows module

class errbot.core_plugins.flows.Flows(bot, name=None)[source]

Bases: errbot.botplugin.BotPlugin

Management commands related to flows / conversations.

flows_kill(_, user, flow_name)[source]

usage: flows_kill [-h] user flow_name

Admin command to kill a specific flow.

positional arguments:
user flow_name
optional arguments:
-h, --help show this help message and exit
flows_list(msg, args)[source]

Displays the list of setup flows.

flows_show(_, args)[source]

Shows the structure of a flow.

flows_start(msg, args)[source]

Manually start a flow within the context of the calling user. You can prefeed the flow data with a json payload. Example:

!flows start poll_setup {"title":"yeah!","options":["foo","bar","baz"]}
flows_status(_, args)[source]

Displays the list of started flows.

flows_stop(msg, args)[source]

Stop flows you are in. optionally, stop a specific flow you are in.

recurse_node(response: _io.StringIO, stack, f: errbot.flow.FlowNode, flow: errbot.flow.Flow = None)[source]