sijis on master
Update README.md with new URL (… (compare)
@nzlosh thanks. Here is my flow and plugin code. When I execute any command, for example: !a or !b, the bot respond, but not in the channel, responde like a app. It say me: You can continue using this command( the next command in flow). But I would like use the flow, like if the bot send an email.
Bot: Ok, Give me an email?
Bot: Please, give me a subject?
User: This is an example
Bot: Ok. Enter a body text of the e-mail.
User: bla bla bla bla.
Bot: Do you want send it now?
Bot: The email has been send
`from errbot import botflow, FlowRoot, BotFlow, FLOW_END
""" Conversation flows for Errbot"""
@botflow def w1(self, flow: FlowRoot): "documentation of W1" a_node = flow.connect("a") # no autotrigger b_node = a_node.connect("b") c_node = a_node.connect("c") # crosses the autotrigger of w2 d_node = c_node.connect("d") @botflow def w2(self, flow: FlowRoot): """documentation of W2""" c_node = flow.connect("c", auto_trigger=True) b_node = c_node.connect("b", auto_trigger=True) e_node = flow.connect( "e", auto_trigger=True ) # 2 autotriggers for the same workflow d_node = e_node.connect("d")`
` from errbot import BotPlugin, botcmd, botmatch
@botcmd def a(self, msg, args): return "a" @botcmd def b(self, msg, args): return "b" @botcmd def c(self, msg, args): return "c" @botcmd(flow_only=True) def d(self, msg, args): return "d"
when i use the !plugin blacklist Version Checker,
to stop the bot from sending me messages about version updates, it keeps poking me everyday with this message:
"Notice: VersionChecker is blacklisted, use "!plugin unblacklist VersionChecker" to unblacklist it."
how can i make the bot not sending me this one?
2021-07-13 22:11:50,170 INFO errbot.core Processing command "status" with parameters "" from @sijis
Looking at the code, there's no option to disable this notification, would you mind opening an issue to have a configuration option added to enable/disable this notification?
What do you mean @nzlosh. This feature has been present for as long as I have been using Errbot (years....) It is only in the last couple of releases that i noticed that the Blacklist is not being honored
once the jenkins build is done we need to have test suite where it will trigger few commands and validate the e2e results.
Please note I'm using legacy bot which uses RTM communication. We have a future plan to uplift the webhooks/event based communication.
makemessage()https://github.com/errbotio/errbot/blob/master/tests/base_backend_test.py#L431. You could probably also try something liek