Questions tagged [errbot]

Errbot is a Python chatbot, a daemon that connects to your favorite chat service (Slack, Hipchat, ...) and brings your tools into the conversation. This tag is about any questions regarding its installation, security or issues with the development of new plugins, backends or storage plugins.

errbot logo

Errbot is a Python chatbot, a daemon that connects to your favorite chat service (Slack, Hipchat, ...) and brings your tools into the conversation.

It is extensible in Python. The general user guide is here and the API reference is here

44 questions
0
votes
1 answer

Not able to connect to Hipchat with errbot ? getting permission denied for socket .

While connect error bot with self hosted . Getting this error while doing it - 10:40:34 DEBUG sleekxmpp.xmlstream.xmlst RECV: 10:40:34 DEBUG sleekxmpp.features.featur Starting TLS 10:40:34…
0
votes
2 answers

Configuring errbot presence in HipChat

I'm trying to use Errbot with HipChat server (not cloud). It looks like Errbot is confused between a room name and its xmpp jid. For example, testing with room named BotTest that has jid of 1_bottest@conf.btf.hipchat.com: When I set…
0
votes
2 answers

errbot: scripted plugin installation for docker?

I have a Dockerfile to run errbot, looking for a way to script plugin installation. The documentation only seems to list the manual !repos install ... method. Is there any way for automatic plugin installation from git repo?
0
votes
1 answer

Passing multiple arguments from slack to errbot

I'd like to pass multiple arguments like so: @bot test vpn PeerIP: x.x.x.x, optional arguments: Peersubnet y.y.y.y ClCSubnet z.z.z.z Right now when passing multiple arguments I get the error: Computer says nooo. See logs for details: test_vpn()…
0
votes
1 answer

Disable errbot cert verification

I'm having hard time trying to connect errbot to dev HipChat server because of invalid ssl cert. log: 21:16:01 DEBUG sleekxmpp.xmlstream.xmlst Event triggered: ssl_cert 21:16:01 ERROR sleekxmpp.xmlstream.xmlst Could not match certficate…
RomanV
  • 3
  • 3
0
votes
2 answers

How to mock a helper method for errbot

I'm trying to complete my unit tests for the errbot plugin I am writing. Can anyone tell me how to mock out a helper method which is used by a botcmd method? Example: class ChatBot(BotPlugin): @classmethod def mycommandhelper(cls): …
DidiV
  • 1
0
votes
1 answer

errbot error with help command

So I just installed Errbot. I run it and get this when running !help >>> !help Computer says nooo. See logs for details: 'ascii' codec can't encode character '\u2022' in position 75: ordinal not in range(128) Any advice on how to fix this?
Fudster
  • 3
  • 3
0
votes
2 answers

Slack chatPostMessage fails

I'm trying to send a message from a Plugin by calling directly to the bot self._bot.sc.api_call('chat.postMessage', data={ 'channel': "#general", 'text': "test msg", 'unfurl_media': 'true', 'as_user': 'true', }) Always returns…
avivl
  • 407
  • 4
  • 4
0
votes
1 answer

Yield from dependency plugin?

I want to make parser plugin, which will translate free form messages to the bot commands and run them from other plugins. Let's say I have PluginA and PluginB which depends on PluginA. On PluginA I have command: @botcmd def do_on_a(self,…
arykalin
  • 393
  • 1
  • 3
  • 11
0
votes
3 answers

Slack backend: is it possible to detect an edit?

Our errbot is providing links to JIRA tickets when it sees the right ticket patterns. Unfortunately, in slack it is common for users to edit their posts, and if both edits contain the JIRA ticket pattern, errbot provides the link twice, it is…
EMiller
  • 1,138
  • 8
  • 23
0
votes
1 answer

When I try to do errbot after errbot --init, I get the following error?

I can get errbot terminal as >>>. I am using python 3.5 and virtual enviroment is activated. I am building a chatops bot for telegram. I was working on other device where errbot was fine but I can't even install it here. Can any one help me here…
Roshan Gautam
  • 480
  • 1
  • 5
  • 15
0
votes
1 answer

Errbot: How can I import one plugin from another

In this case I have a simple JIRA plugin, I'd like to create another plugin that also interacts with JIRA via the first plugin. I have been trying variations of errbot.plugin_manager.get_plugin_obj_by_name('jira') but I haven't found the right way…
EMiller
  • 1,138
  • 8
  • 23
0
votes
1 answer

errbot does not return "Hello World" when I type !hello

Also when I type !status, Helloworld is not in the list as A (Active). I do not think it is reading my plugin. Any suggestions? # code for helloworldld.py from errbot import BotPlugin, botcmd class HelloWorld(BotPlugin): """Example 'Hello,…
-1
votes
2 answers

Errbot Dynamic Regex

I will generate the regex from a file or something and need it in the @re_botcmd but i get the error: "not defined" is there a way do define a variable that re_botcmd is finding? from errbot import BotPlugin, re_botcmd from pathlib import…
1 2
3